gcue Posted July 3, 2008 Share Posted July 3, 2008 i am trying to get the disk space used on a network drive but it doesnt seem to be reporting the right amount of space $var = DriveSpaceTotal( "\\Lao-nwcs_users3_server\Users3\Crsdesktop\GXM" ) MsgBox(4096, "Total Space on C:", $var & " MB") Link to comment Share on other sites More sharing options...
weaponx Posted July 3, 2008 Share Posted July 3, 2008 Hmm...for me it is returning 49,002 MB on an 80 GB drive. Not sure. Link to comment Share on other sites More sharing options...
gcue Posted July 29, 2008 Author Share Posted July 29, 2008 does anyone else have any insight to this? thanks. Link to comment Share on other sites More sharing options...
Kerros Posted July 29, 2008 Share Posted July 29, 2008 Windows reports 2.93TB network share. script returns 3080275.42578125 MB..... Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance. Link to comment Share on other sites More sharing options...
Skruge Posted July 29, 2008 Share Posted July 29, 2008 i am trying to get the disk space used on a network drive but it doesnt seem to be reporting the right amount of spaceHow are you determining the correct amount, and how does it differ from what's reported?2.93TB = 3080275MB, so it seems to be working for Kerros.It works fine in my testing as well, so I'm not sure what's happening in your and weaponx's cases. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now