Funktionsreferenz

DriveSpaceTotal

Returns the total diskspace of a path in Megabytes.

DriveSpaceTotal ( "path" )

 

Parameter

path Path of drive to receive information from.

 

Bemerkungen

DriveSpaceTotal may even work when a complete directory path (that exists) is given. However, a file path won't work.

 

Siehe auch

DriveGetDrive, DriveGetFileSystem, DriveGetLabel, DriveGetSerial, DriveGetType, DriveSetLabel, DriveSpaceFree, DriveStatus

 

Beispiel


$var = DriveSpaceTotal( "c:\" )
MsgBox(4096, "Total Space on C:", $var & " MB")