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.


icon

Inputs/Outputs

  • cpath.png path

    path specifies the path whose syntax you want to check.

  • ii16.png type

    type indicates the type of the specified path.

    UNC file paths are absolute file paths. Use two leading backslashes (\) to represent UNC file paths. type returns <Not A Path> only when you wire the Not A Path constant to this function.

    0Absolute path
    1Relative path
    2<Not A Path>