CustomBar: Plugin Reference
SystemInfo.DiskFreeSpace
Obtains the amount of space left on a given drive.
SystemInfo.DiskFreeSpace( string Drive, string Unit, integer Precision )
Parameters
Drive
Drive (or path) to retrieve free space for.
Unit
Unit to return information in. Can be one of the following:
B - Bytes
KB - Kilobytes
MB - Megabytes
GB - Gigabytes
% - Percent.
Precision
Amount of numbers following decimal point to retrieve.
Return Value (string)
Free space on drive in requested unit and precision.