Next: , Previous: , Up: Directory and File Variables and Functions   [Index]


7.2.3.3 file-name-nondirectory

This function takes a full file name (path) and returns everything after the last slash, or the full name if it contains no slash. If the file name ends in a slash, then this function will return the empty string.

Function: file-name-nondirectory filename
FILENAME

a full file name (path)

RETURN VALUE

file name without its directory.