FreeDiskSpace Property

         Example         Applies To

Returns the available disk space for the current drive, in bytes. Use the ChDir statement to change the current drive. Read-only Long.

Note   There are 1024 bytes in a kilobyte and 1,048,576 bytes in a megabyte.