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

ISVALIDPATH

This function checks the specified path 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.

ISVALIDPATH( [ Path] )

Path is the path to check

Examples

Rule

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

Example Outcomes

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

Table of Contents