The following function can be used to parse file name paths and extract different parts like the path, the file name, the type (extension) etc.
Returns the file name and extension of a full file name, useful for labeling file buttons in rollout panels.
Returns the directory path part of a full file name.
Returns the file name part of a full file name.
Returns the type extension part of a full file name.
Returns true if the file exists, false otherwise.
[ AVG ] Returns true if the specified file path has a UNC network path signature (\\someslave\) and false if it has a local path signature (D:\) where D: is a drive letter.
The method does not test for the path's existence, it only checks the signature of the path to see if it is UNC or local.
See also pathConfig.isUncPath() in the PathConfig Struct topic.