GetFreeDiskSpace Function

Returns free space on disk volume holding specified file or directory.

Arguments

Number Type Compulsory Default Description
1 string Yes Directory

Argument 1

A file or directory that resides on the disk volume whose free space is required. On windows this may be simply the drive letter followed by a colon. E.g. 'C:'

Returns

Return type: real

Free space available in bytes