Returns the directory path of a file, after stripping out the name and extension
(vl-filename-directory filename)
Arguments
A string containing a complete file name, including the path. The vl-filename-directory function does not check to see if the specified file exists. Slashes (/) and backslashes (\) are accepted as directory delimiters.
Return Values
A string containing the directory portion of filename, in uppercase.
Examples
(vl-filename-directory "c:\\acadwin\\acad.exe") "C:\\ACADWIN" (vl-filename-directory "acad.exe") ""