Outputting a directory listing

Associate
Joined
19 Oct 2002
Posts
1,246
Location
Prestwick,Scotland
Hi there.

I was wondering if there was any kind of program that will scan through a selected directory tree and list all the folders and file that they contain and export it to an HTML file or something similar.

It would output something like

Pictures
--------Holiday 2006
---------------------Pic 1
---------------------Pic 2
---------------------Pic 3
--------Holiday 2007
---------------------Pic 1
---------------------Pic 2
---------------------Pic 3
Videos
--------Holiday 2006
---------------------Video 1
---------------------Video 2
---------------------Video 3
--------Holiday 2007
---------------------Video 1
---------------------Video 2
---------------------Video 3

Thanks
Chris
 
You can dump to a text file using good old DIR

dir c:\folder >> dump.txt


you can also apply all the usual switches to dir to customise the output. type "dir /?" to list them all
 
Back
Top Bottom