(vl-filename-base filename)


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


This function returns a string containing the filename.

Example

Code Returns
(vl-filename-base "d:\file.txt") "FILE"

 

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language