Returns the free disk space of a path in Megabytes.
DriveSpaceFree ( "path" )
Parameter
| path | Path of drive to receive information from. |
Bemerkungen
DriveSpaceFree 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, DriveSpaceTotal, DriveStatus
Beispiel
$var = DriveSpaceFree( "c:\" )
MsgBox(4096, "Free space on C:", $var & " MB")