Board index » delphi » Search multiple files in multiple directories

Search multiple files in multiple directories

Hi there,

I'm a poor lonesome 'beginner' programmer from Polytechnical school of
Lausanne (Yes a Swiss guy).

I'm just trying to get in a list all files with a certain extension out of
a directory. OK I use FindFirst and FindNext until this directory is
complete.

But then I would like to scan all subdirectories... Can someone help me on
this one?

 

Re:Search multiple files in multiple directories


Use the faDirectoy attribute in your search criteria and you'll pick up all
the subdirectories. I would create a procedure to parse one directory and
then call it repeatedly with all subdirectories.

Woody

Other Threads