(vl-filename-directory filename)


Return only the directory path of the filename (without the filename and file extension).


This function returns a string containing the directory path.

Example

Code Returns
(vl-filename-directory"d:\file.txt") "D:\"

 

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language