Pathnames
Pathnames are strings that designate the location of a resource within a hierarchical namespace, most commonly a filesystem. They can be absolute, which specifies a location from the root, or relative, describing a location from the current working directory. Pathnames are made up of components separated by a delimiter: typically a forward slash on POSIX systems or a backslash on Windows, though many environments accept forward slashes in general.
A typical pathname contains a root indicator (such as / on POSIX, or a drive letter like C:\
Different platforms have different conventions. POSIX pathnames use / as the separator and treat file names as
Pathnames are subject to resolution rules. Some components may be symbolic or junction links that redirect
In programming, pathnames are manipulated by library functions that join, normalize, split, and resolve components, with