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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a script to drill down to every folder/sub-folder in a directory 1

Status
Not open for further replies.

jfdabiri

MIS
Feb 27, 2007
282
US
hi,
I'm trying to write a script to drill down into every folder/subfolders that exists, and list file types of .jpg, .avi, .mpg.

i have a script, but it only lists files in one folder. what i'm after is one that can drill down into a folder, if it finds a folder, get into it as deep as there are subfolders.

thanks.
 
Have a look here:
faq329-5515

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
thanks phv,
i think this is what i need. thanks so much.
:)
 
I've posted several recursive examples here...just scroll down or do a search on the page for "How can I get a folders file count? Folder Recursion"

--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
Bycspain,

No, not my site...I just hang out there like I do here and update that particular post on occasion.

--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top