Next: file-name-as-directory, Previous: file-name-base, Up: Directory and File Variables and Functions [Index]
This function returns a string representing dirname in a form that the operating system will interpret as the name of a file (a directory file name). In general, it will return a name without a trailing slash.
This operation exists because a directory is also a file, but its name as a directory is different from its name as a file.
a directory to process; obtain its file name; in Unix-syntax, this function just removes the final slash.
the file name of the directory named DIRECTORY (its directory file name).