View Single Post
  #8 (permalink)  
Old 07-05-2009, 12:30 PM
Bruce Chambers
Newsgroup Contributor
 
Posts: n/a
Re: Copying file names to a document

Richard Z wrote:
> I want to make a list of all my files in a folder. Ideally I'd like to
> have a program be able to read the files within a folder so I don't have
> to open up folder after folder but maybe I'm getting ahead of myself
> here. I can right click a file, Rename, Copy and Paste that into a
> document and it will show up perfectly. The problem is I can't seem to
> do that with more than 1 file at a time. I just want the name of the
> file on a list.



From the command prompt (Start > Run > Cmd.exe), simply change to
the desired directory and type "dir > filelist.txt" or "dir > lpt1,"
just as one 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

Directory Lister
http://www.krksoft.com/index.php


--

Bruce Chambers

Help us help you:
http://www.catb.org/~esr/faqs/smart-questions.html

http://support.microsoft.com/default.aspx/kb/555375

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. ~Benjamin Franklin

Many people would rather die than think; in fact, most do. ~Bertrand Russell

The philosopher has never killed any priests, whereas the priest has
killed a great many philosophers.
~ Denis Diderot
Reply With Quote

 
Old 07-05-2009, 12:30 PM