Drive.TotalSize
|
|
The TotalSize property returns the total size of the specified drive in bytes. |
<html> <script language="JScript"> <!-- var drivePath = "C:";
var fileSysObj = new ActiveXObject("Scripting.FileSystemObject");
var drive = fileSysObj.GetDrive(fileSysObj.GetDriveName(drivePath));
document.write("Drive ",drivePath," is ",drive.TotalSize," bytes."); -->
</script> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
|
|