DiscGetFreeSpace - method of the Pm object
Description:
Returns the free space on the device (disk, etc.).
Syntax:
Double DiscGetFreeSpace(String sRoot)
Parameters:
sRoot | (String) root device folder |
---|
Return value:
Returns a value in bytes
Example:
JavaScriptVBScriptSelect and copy to clipboard
var n = Pm.DiscGetFreeSpace("C:");
Dim n
n = Pm.DiscGetFreeSpace("C:")