How can I count files in sub-folders?

P

Paul H

I have a folder with 2 or more levels of sub-folders. I want to
automatically produce a text file that contains the names of all of the
files in each sub-folder. Can I do this without writing a program - maybe
just using a BAT file with DOS commands? Any suggestions would be
appreciated. And I apologize if this is the wrong place to ask this
question. TIA, Paul
 
J

Jim C

you should be able to do a simple bat file with the dir/s command and pipe
it to a text file
 
T

Terry R.

On 9/4/2007 3:53 PM On a whim, Paul H pounded out on the keyboard
I have a folder with 2 or more levels of sub-folders. I want to
automatically produce a text file that contains the names of all of the
files in each sub-folder. Can I do this without writing a program - maybe
just using a BAT file with DOS commands? Any suggestions would be
appreciated. And I apologize if this is the wrong place to ask this
question. TIA, Paul

Hi Paul,

Check out the free version of Treesize and see if it works for you:
http://www.jam-software.com/freeware/index.shtml

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
P

Paul H

Thanks Jim - That's perfect - I should have remembered that - I've been away
from DOS too long...

you should be able to do a simple bat file with the dir/s command and pipe
it to a text file
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top