Listing sub-folders and files

  • Thread starter Thread starter Stuart Brown
  • Start date Start date
S

Stuart Brown

I would like to type out the list of sub-folders (or files)that appear in a
particular folder. The only way that I can do this at present is to use the
print screen facility.

This is rather clumsy. Is there a better way to print such lists?

Stuart Brown
 
I like to use dos to do this. Go to start and then run
type in cmd and press enter. cd to go to the directory
you need (ex: cd c:\windows). Type Dir /w/p. If you
wanted to send it to a printer on lpt1 you could type
dir /w/p >lpt1. If you wanted the listing to go to a file
type dir /w/p >c:\filelisting.txt

Brian
 
Kenny and Brian

Thank you for your prompt replies. Very helpful I am always learning

Stuart Brown
 
Greetings --

From the command prompt (Start > Run > Cmd.exe), simply change to
the desired directory and type "dir > filelist.txt" or "dir > lpt1,"
just as you used to do in DOS. Any of the switches for the DIR
command (type "dir /?") will work with this command, if you wish to
modify the output. You can then subsequently edit the resulting text
file using NotePad, WordPad, Word, etc.

Alternatively:

HOW TO Add a Print Directory Feature for Folders in Windows XP
http://support.microsoft.com/?kbid=321379


Bruce Chambers

--
Help us help you:



You can have peace. Or you can have freedom. Don't ever count on
having both at once. -- RAH
 

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

Back
Top