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