DIRECTORY( ) Function

See Also

Returns true (.T.) if the specified directory is found on disk.

Syntax

DIRECTORY(cDirectoryName)

Returns

Logical

Arguments

cDirectoryName

Specifies the name of the directory to locate. If you do not include an absolute path for the directory you specify, Visual FoxPro searches for the directory relative to the Visual FoxPro default directory.

Remarks

The Visual FoxPro default directory is specified with SET DEFAULT.