Link to home
Start Free TrialLog in
Avatar of johnclarke
johnclarke

asked on

Directory Listing

How can I write a routine that will recusively list all of the files within a given directory (including sub-directories) ?

I would be gratefal for all help given regarding this.

Thanks in advance

John
ASKER CERTIFIED SOLUTION
Avatar of Venci75
Venci75

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ibo
ibo

of course that code only gets the top level directory listing. if you really want a recursive directery listing, u can modify the method to be recursive and use the approriate data structure from collections classes (hint : tree)