Recursive Directory Listing

Bill Baxter dnewsgroup at billbaxter.com
Wed Feb 13 15:17:40 PST 2008


okibi wrote:
> Hello,
> 
> I was wondering if anyone could tell me how I would go about doing this. I need a function that can list all the files and directories in a given directory, and return an array that I can use that can reference each file, each folder, and each file within each subfolder. Is this possible?
> 
> Thanks!

Does std.file.listdir help?

http://www.digitalmars.com/d/1.0/phobos/std_file.html

--bb


More information about the Digitalmars-d-learn mailing list