I've been trying to see get a list of all files within a directory in CLISP, but I've only been able to get all non-directory files within a directory.
I'm currently trying this in Windows 7 with cygwin, so that may influence my results. I'm pretty new to CLISP (and LISP over all), and what I'm currently trying to do is as follows:
(directory (make-pathname :directory
'(:absolute "cygdrive" "c" "Download")
:name :wild))
This successfully returns all non-directory files within "C:\Download. However, it doesn't return directories. I've searched all over, and all Common Lisp references point to using "directory", but it seems impossible to me that there is no Common Lisp (or CLISP only perhaps?) way to address all files within a directory.
Any help would be appreciated. Thanks in advance!