Home Search

DriveWorks Solo 21
IsValidRelativePathResult

Send Feedback

IsValidRelativePathResult

Checks that the specified path is structurally and syntactically valid and contains no file information.

Syntax

IsValidRelativePathResult([Path])

Where:

Path is the path to check

Examples

Rule

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

Example Outcomes

PathOutcome
"\hello\world\"True
""False
"\hello\world\*.*"False
"\hello\world\*.txt"False
"\hello\world\file.*"False
"\hello\world\file.txt"False
"C:\hello\world"True
"C:\hello\world\*.*"False