CharlieNoyes Posted March 23, 2014 Posted March 23, 2014 Title. Code: Partition() Func Partition() ; Run Disk Management ShellExecute("mmc.exe", "diskmgmt.msc") $total = DriveSpaceTotal( "c:\" ) $free = DriveSpaceFree ( "c:\" ) $total - $free = $used MsgBox(0, "", "C:\ Is using " & $used & " MB") EndFunc
Chimaera Posted March 24, 2014 Posted March 24, 2014 (edited) Partition() Func Partition() ; Run Disk Management ShellExecute("mmc.exe", "diskmgmt.msc") Local $size = Round(DriveSpaceTotal( "c:\" ) /1024, 2) Local $free = Round(DriveSpaceFree ( "c:\" ) /1024, 2) Local $total = $size - $free MsgBox(0, "", "C:\ Is using " & $total & " GB") EndFunc Edited March 24, 2014 by Chimaera If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices()
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