Path Type

Returns the type of the specified path, indicating whether it is an absolute, relative, or Not A Path. This function does not verify that the path exists on the computer. It checks only the syntax of the path. Use the File/Directory Info function to verify that a file or directory exists on the computer.

path specifies the path whose syntax you want to check.
type indicates the type of the specified path. UNC file paths are absolute file paths. Use two leading backslashes (\\) to represent UNC file paths.

0Absolute path
1Relative path
2Not A Path