Skip to content

Path Functions

Dale Fugier edited this page Mar 13, 2019 · 3 revisions

dos_absolutepath - Converts a relative path to an absolute path.
dos_compactpath - Truncates a path to fit within a certain number of characters.
dos_expandenv - Replaces environment strings with the values defined for the current user.
dos_fullpath - Converts a partial path to a fully qualified path.
dos_ispathnetwork - Determines whether a path string represents a network resource.
dos_ispathrelative - Determines if it is relative.
dos_ispathroot - Determine if a path is a directory root.
dos_ispathsameroot - Determines if two paths have a common root component.
dos_ispathslow - Determines whether a file path is a high-latency network connection.
dos_ispathunc - Determines if a path is a valid UNC for a server and share path.
dos_ispathurl - Determines if a path is a valid UNC for a server and share path.
dos_localpath - Returns the local path that is currently mapped to given UNC path.
dos_longpath - Converts a short path name to a long path name.
dos_makepath - Creates a single path from components.
dos_path - Returns the current search path.
dos_pathbackslash - Adds or removes a tailing backslash from a path string.
dos_pathextension - Adds, modifies, or removes the extension from a path string.
dos_pathquotes - Adds or removes surrounding double-quotes from a path string.
dos_relativepath - Creates a relative path from one file or folder to another.
dos_shortpath - Converts a long path name to a short path name.
dos_splitpath - Breaks a full path name into its four components.
dos_uncpath - Converts a path or filename into a UNC path or filename.
dos_unexpandenv - Replaces certain folder names with their associated environment string.

Clone this wiki locally