DISKSPACE( )
Returns the number of bytes available on the current or specified drive's disk.
Syntax
DISKSPACE([<drive expN>])
<drive expN>
A drive number from 1 to 26. For example, the numbers 1 and 2 correspond to drives A and B, respectively.
Without <drive expN> or if <drive expN> is 0, DISKSPACE( ) returns the number of bytes available on the current drive.
If <drive expN> is less than 0 or greater than 26, DISKSPACE( ) returns the number of bytes available on the drive that contains the home directory.
Description
Use DISKSPACE( ) to determine how much space is left on a disk.