Travel Technology - Printing Lists Of Folders And Files On XP




Landing Gear
Mar 15, 08, 5:02 pm
Dumb Computer Question #7,643,824

I have XP Pro, service pack 2 on several machines.

How can I:


Print a list of folders within a folder, e.g. C:\Program Files\

Print a list of files within a folder, e.g. C:\Program Files\Microsoft Office\Office 12\Media\


Would I need to buy or download a utility or program to do this?


morgado
Mar 15, 08, 5:10 pm
try this program print folder 1.3 from this site and see if it is what you want, if you do not like it go to google and do a search as there are many of them. http://www.no-nonsense-software.com/freeware/

ScottC
Mar 15, 08, 5:14 pm
Doesn't anyone remember DOS?

The tree command does this. And you can of course save tree output into a file or a printer.

Just type tree > files.txt :)


KVS
Mar 15, 08, 5:33 pm
Would I need to buy or download a utility or program to do this?You can simply go to the Command Prompt window and enter:

TREE /A /F "C:\Program Files" > "C:\MyListing.txt"

You can then open the generated text file ("C:\MyListing.txt") for printing, etc.

cordelli
Mar 15, 08, 8:08 pm
I jump out to dos to do it, using the dir command

Dir *.* > list.txt

will give you a list of all the files and folders in that directory, adding a /b will just give you the file names and not the date, size, etc.

You can then use the text file to build a batch file of those names. Tee Hee, if people don't remember dos, they certainly don't make batch files.....

Landing Gear
Mar 15, 08, 10:41 pm
I'm going to try these suggestions and get back to you folks tomorrow.



SEO by vBSEO 3.2.0