FREESPACE function

Synopsis
This function returns the available space (in Mbytes) on a specified drive .
Remarks
Variations
FREESPACE()
Returns the available space (in Mbytes) on the drive where the Matrox Design Assistant documents folder is stored.
Parameters
Returns
Returned types: Numeric.
Examples
1.

The following example returns the available space on the drive where the Matrox Design Assistant documents folder is stored.

FREESPACE()
FREESPACE(PATH)
Returns the available space (in Mbytes) on the drive containing the specified path.
Parameters
PATH

Specifies the path for which the available space will be returned. When passing only a drive letter, no colon or slash is required.

Supported types: String.
Returns
Returned types: Numeric.
Examples
1.

The following example returns the available space on the K drive.

FREESPACE("K:\\SavedImages")
2.

The following example returns the available space on the K drive.

FREESPACE("K")