DriveWorks Pro 15: IsValidDirectory [send feedback...]

ISVALIDDIRECTORY

This function checks the specified directory and ensures it is of a valid structure and syntax.

Syntax

Available for DriveWorks Projects only. See New Project Wizard for information on project types.

ISVALIDDIRECTORY( [ Directory] )

Directory is the directory to check.

Examples

Rule

Meaning
ISVALIDDIRECTORY("\hello\world\directory")This function validates the directory "\hello\world\directory" and returns True as it is structurally and syntactically valid.

Example Outcomes

DirectoryOutcome
"\hello\world\directory"True
"\hello\world\file.txt"False
"\\servername\directory"True
"\hello\world\"True
""False
"\dir:name\"False
"C:\dirname"True
"C:\dirname\file.txt"False

Table of Contents