Checks that the specified path is structurally and syntactically valid and contains no file information.
IsValidRelativePathResult([Path])
Where:
Path is the path to check
Rule | Meaning |
---|---|
IsValidRelativePathResult("\hello\world\") | This function validates the path "\hello\world\" and returns True as it is structurally and syntactically valid. |
Path | Outcome |
---|---|
"\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 |