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

Syntax

ISVALIDDIRECTORY( [ Directory] )

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

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