Has anyone written a re-occuring loop to gather a path and all sub-folders within sub-folders, etc.etc.. I'm a bit tired.... And crashing... (defun search-folder (path / di cn dlist p opath) (setq di (vl-directory-files path nil -1) ln (length di) cn 0 ) (while (nth cn di) (if (not (member (strcat path (nth cn di)) dlist)) (progn (if (or (not (= (nth cn di) ".")) (not (= (nth cn di) "..")) ) (progn (setq dlist (cons (strcat path (nth cn di)) dlist)) (if (or (not (= (nth cn di) ".")) (not (= (nth cn di) "..")) ) (progn (setq npath (strcat path "\" (nth cn di))) (search-folder npath) ) )) (setq cn (1+ cn)) )) )) (reverse dlist) )