Need examples of valid and invalid Windows relative paths -
in order check (probably using pcre regex) if plain ansi text string represents syntactically valid windows relative path or not, first need list of examples includes unusual syntactically valid relative paths. msdn maddeningly vague on point, , i've never been able find list of examples includes many (if @ all) strange correct outliers.
one major unanswered question whether or not valid unc pathname can contain relative components. example, of following strings syntactically valid windows?
\\server1\share1\..\fname.txt \\server1\share1\..fname.txt \\server2\.. \\server3\share2\. \\server3\share2\folder3\folder4\..\..
two things note: (1) objects path strings represent not need exist; , (2) function plan on creating perform windows path string validation (in autoit, uses pcre format regexes) include flag specify if string needs conform windows explorer path limitations or wider non-explorer windows path syntax.
would of please provide desired list of unusual syntactically correct relative path strings (including unusual unc paths if such valid) few invalid examples? thanks!
Comments
Post a Comment