This DirUtils unit allows you to extract all the file names out of a directory, extract all the subdirectory names out of a directory, extract with or without dotted directories ("..", ".").
It uses simple arrays and records and requires no free/create, no classes. It can retrieve the entire combined contents of the directory or you can just target folders or files.
Update
The file has been renamed to pwdirutils.pas in latest SVN.
http://opensvn.csie.org/pspcgi/psp-1.6.x-devel/main/
Interface/docs
/cgi-bin/powtils/docs/1.6/idx.cgi?file=index-5&unit=dirutils
SVN demo/old location: http://opensvn.csie.org/pspcgi/psp-1.6.x-devel/extras/dir-utils/
It is also included if you download Powtils and search for dirutils.pas after unzipping.
|