Next: file-name-nondirectory, Previous: default-directory—a variable, Up: Directory and File Variables and Functions [Index]
This function returns the directory component of a file name. Given a Unix syntax file name, it returns a string ending in slash (‘/’).
a file name (path)
the directory component (directory name) from FILENAME (path);
nil if FILENAME does not include a directory.