Files and folders list in Delphi

Posted by ChangiLo on June 10, 2001

I using FindFirst at the moment to gain list of Files. Not sure how to do for folders. Would like to do the same as Dos 'dir', and add the output to a Delphi ListBox.

Much appreciation for anyone who can help.

 

Re: webmaster Guido on June 11

Sure I can help :)

Just have a look in DelphiLand's "Code Snips" section, article title: "Find files".

Find Files
Find files and folders recursively.