Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
DiskFree and DiskSize Functions
◄Summary► ◄Details► ◄Example► ◄Back►
FUNCTION DiskFree( drive : Byte ) : LongInt;
FUNCTION DiskSize( drive : Byte ) : LongInt;
Return the free space or total capacity of a specified drive
Unit: Dos
See also: Erase, FileSize, Ord, RmDir, UpCase