Re: Getting subfolders?

[ Delphi Forum ]

Posted by webmaster Guido on August 17, 2003
In Reply to: Getting subfolders? posted by Lennie De Villiers on August 13, 2003

: How can I get a list (TStringList) of all subfolders within a root folder?
: Using Delphi 5 EE
: Kind Regards,
: Lennie De Villiers

Hi Lennie,

Have a look at the article "Find files with FindFirst and FindNext" in DelphiLand's section "Code Snips".

The procedure "FindFiles" is for obtaining a list of all files in all subfolders in a root folder. But you can easily adapt this to a procedure "FindFolders". If you need more info, let me know :)

[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]