Home Search

DriveWorks Solo 22
FsDirectoryExists

Send Feedback

FsDirectoryExists

Returns TRUE if the specified directory location exists. FALSE is returned if it does not.

An error string is returned if there are any problems checking for existence.

Syntax

FsDirectoryExists( [Directory Location] )

Where:

Directory Location is the directory location to check. If a full path is not specified the function will check for the location relative to where the project is stored.

Examples

Rule

Meaning
FsDirectoryExists("E:\DriveWorks") Will check to see if the location E:\DriveWorks exists and return True if so.
FsDirectoryExists("\\DRIVEWORKS-DATA\Specifications\" & OrderNumberReturn) Will check  to see if the location \\DRIVEWORKS-DATA\Specifications, combined with the result of the control OrderNumberReturn, exists and return True if so.