PDA

View Full Version : making a file list



Lizard
30-09-2006, 09:56 PM
Hi all,

I want to make a print out of all the files, arranged by their folder structure, within a given folder. I've dallied with DOS commands, but can't seem to find the right command/syntax. What I've been trying to do is to output the folder structure and file list to a text file, which I can then print and go through at my leisure. Does anyone know how I can do this?

cheers

Jen
30-09-2006, 10:52 PM
Navigate to the folder in question and then enter in:

dir > list.txt

This will list all the files and create a text file called list.txt of them in that same directory.

Alternatively, the following program has been mentioned before as an easy way of doing this: Karen's Directory Printer v5.1 (http://www.karenware.com/powertools/ptdirprn.asp).

beama
01-10-2006, 08:45 AM
or if you really want to show off

dir | sort /o c:\this dir\dir.txt

you may also want to try

tree

this will give a screen/text file dump of your directory structure