Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing files with varying number of subfolders

Status
Not open for further replies.

tfujitani

Programmer
Nov 5, 2002
6
US
How can I access files that reside in a folder that has different levels of subfolders. Some files are 4 levels deep, some are 3 levels deep etc.. Is there an easy way to do this because accessing the files one folder at a time makes for a long script. I need to be able to get all of the file names and modified dates for all of the files in all of the subfolders.
 
Read through all of thread329-370893 for an example. Read to the end, the first code posted has changes later in the thread. I'm sure I've seen other folder-traversal code samples and discussions here too. Maybe try a search within this forum (see the search tab above).

Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top