DISKSPACE( ) Function
Retrieves the number of bytes with the specified type that are available on the default or specified hard disk drive or volume.
DISKSPACE([cVolumeName [, nType]]) |
Parameters
- cVolumeName
-
Specifies the name of the hard disk drive or volume for which the available space is returned. If you omit cVolumeName, the available space is returned for the default disk drive or volume.
- nType
-
Specifies the type of hard disk space to retrieve. The following table lists the values for nType.
Value Description 1
Total amount of space on the hard disk drive.
2
Total amount of free space on the hard disk drive. (Default)
3
Total amount of free space available to the user associated with the calling thread.
Return Value
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Note
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08