gcue Posted July 3, 2008 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")
weaponx Posted July 3, 2008 Posted July 3, 2008 Hmm...for me it is returning 49,002 MB on an 80 GB drive. Not sure.
gcue Posted July 29, 2008 Author Posted July 29, 2008 does anyone else have any insight to this? thanks.
Kerros Posted July 29, 2008 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.
Skruge Posted July 29, 2008 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]
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