FT_DSKSIZE

FT_DSKSIZE()
 Return the maximum capacity of a fixed disk
------------------------------------------------------------------------------

 Syntax

      FT_DSKSIZE( [ <cDrive> ] ) -> nMaxCapacity

 Arguments

     <cDrive> is the fixed disk to query. If no drive is sent, the
     operation will be performed on the default drive. Send without
     the ":".

 Returns

     An integer representing the maximum disk capacity in bytes.

 Description

     Function utilizing FT_INT86() to return Maximum Disk Size.
     Uses FT_INT86() through the internal function _ftDiskInfo().

 Examples

     ? FT_DSKSIZE()      // Maximum capacity for default drive
     ? FT_DSKSIZE( "D" ) // Maximum capacity for Drive D:

 Source: DISKFUNC.PRG

 Author: Robert A. DiFalco

FT_DSKFREE

FT_DSKFREE()
 Return the amount of available disk space

 Syntax

      FT_DSKFREE( [ <cDrive> ] ) -> nSpaceAvail

 Arguments

     <cDrive> is the fixed disk to query. If no parameter is passed
     the operation will be performed on the default drive.  Do not
     include the ":".

 Returns

     Integer representing the available disk space in bytes.

 Description

     Function to return the available space on the passed
     drive letter or the default drive if no drive is passed.

     Uses FT_INT86() through the internal function _ftDiskInfo().

 Examples

     ? FT_DSKFREE()  // Returns free space on default drive.

 Source: DISKFUNC.PRG

 Author: Robert A. DiFalco