0 Members and 1 Guest are viewing this topic.
At a loss...(setq DwgList (vl-directory-files DirPath "A*.dwg" 1))How would I modify the above line to filter all A, M, E, P and S letters?Gary
(vl-remove-if-not '(lambda (x) (wcmatch (strcase x) "[AMEPS]*")) (vl-directory-files DirPath "*.dwg" 1))
Michael and AlanThanksMichael your solution worked pecfectly.Thanks again guys