Guest Paul H Posted September 4, 2007 Posted September 4, 2007 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
Guest Jim C Posted September 4, 2007 Posted September 4, 2007 Re: How can I count files in sub-folders? you should be able to do a simple bat file with the dir/s command and pipe it to a text file "Paul H" <NoSpamphobergNoSpam@att.net> wrote in message news:AE3B9FF4-FCC1-4D42-AC44-00C766EAFF1A@microsoft.com... >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 >
Guest Terry R. Posted September 4, 2007 Posted September 4, 2007 Re: How can I count files in sub-folders? 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.
Guest Paul H Posted September 4, 2007 Posted September 4, 2007 Re: How can I count files in sub-folders? Thanks Jim - That's perfect - I should have remembered that - I've been away from DOS too long... "Jim C" <jec1242x@earthlink.net> wrote in message news:13drpgghsq7fkeb@corp.supernews.com... you should be able to do a simple bat file with the dir/s command and pipe it to a text file "Paul H" <NoSpamphobergNoSpam@att.net> wrote in message news:AE3B9FF4-FCC1-4D42-AC44-00C766EAFF1A@microsoft.com... >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 >
Recommended Posts