Returns the name of a file, after stripping out the directory path and extension
(vl-filename-base filename)
Arguments
vl-filename-base function does not check to see if the file exists.
A string containing a file name. TheReturn Values
A string containing filename in uppercase, with any directory and extension stripped from the name.
Examples
_$ (vl-filename-base "c:\\acadwin\\acad.exe")
"ACAD"
_$ (vl-filename-base "c:\\acadwin")
"ACADWIN"