FT_CHDIR() Change the current directory FT_DEFAULT() Retrieve and optionally change the current default drive FT_DOSVER() Return the current DOS major and minor version as a string FT_DSKFREE() Return the amount of available disk space FT_DSKSIZE() Return the maximum capacity of a fixed disk FT_FLOPTST() Test diskette drive status FT_HANDCNT() Count number of available DOS (not network) file handles FT_INP() Retrieve a byte from a specified I/O port FT_INT86() Execute a software interrupt FT_ISPRINT() Check printer status FT_ISSHARE() Determine if DOS "Share" is installed FT_MKDIR() Create a subdirectory FT_OUTP() Write a byte to a specified I/O port FT_PEEK() Retrieve a byte from a specified memory location. FT_POKE() Write a byte to a specified memory location FT_REBOOT() Force a warm or cold boot FT_RMDIR() Delete a subdirectory FT_SETDATE() Set the DOS system date FT_SETTIME() Set the DOS system time FT_SYSMEM() Determine the amount of conventional memory installed FT_TEMPFIL() Create a file with a unique name
Tag Archives: FT_DSKFREE
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