Saving a directory file list

  • Thread starter Thread starter LCG
  • Start date Start date
L

LCG

Is there a way to save a directory (list of files) as a
single file ? I have a directory with 5,000 book titles
and I want to save a snapshot of what is seen on the
screen when I view the directory. I am trying to build
a "table of contents" for quick viewing instead of
constantly opening and closing the folder with all of my
books.

thanks for any assistance.


regards,
 
LCG said:
Is there a way to save a directory (list of files) as a
single file ? I have a directory with 5,000 book titles
and I want to save a snapshot of what is seen on the
screen when I view the directory. I am trying to build
a "table of contents" for quick viewing instead of
constantly opening and closing the folder with all of my
books.

thanks for any assistance.


regards,

Even better, go here:
http://hem.spray.se/anders.peterson/ and go to Offline CD Browser. It's a
small cataloguing program that can be used to catalogue folders as well as
CDs

Brill!
 
Go to a command prompt box. Isssue the command:

dir [drive]:[folder_pathname] > filelist.txt

changeing the obvious [drive]:[folder_pathname] to where your folder is
and "filelist.txt" to name of the file you want to save the info to.

Look at "dir /?" to see other options you might want to try to get
exactly the list you want.

Edit the file to remove extraneous information, should you want to do that.

You can use the "sort" command on the fileslist.txt file to sort it in a
different fashion, if you want.

Hope this is useful to you. Let us know.

rms
 
Try this Microsoft Knowledge Base Article 321379
How to Add a print directory feature for folders in Windows XP.
I followed this, works great. After you install, right click will bring up
the option to "Print Directory Listing"
LOL

Rob Schneider said:
Go to a command prompt box. Isssue the command:

dir [drive]:[folder_pathname] > filelist.txt

changeing the obvious [drive]:[folder_pathname] to where your folder is
and "filelist.txt" to name of the file you want to save the info to.

Look at "dir /?" to see other options you might want to try to get
exactly the list you want.

Edit the file to remove extraneous information, should you want to do that.

You can use the "sort" command on the fileslist.txt file to sort it in a
different fashion, if you want.

Hope this is useful to you. Let us know.

rms



Is there a way to save a directory (list of files) as a
single file ? I have a directory with 5,000 book titles
and I want to save a snapshot of what is seen on the
screen when I view the directory. I am trying to build
a "table of contents" for quick viewing instead of
constantly opening and closing the folder with all of my
books.

thanks for any assistance.


regards,
 
In
LCG said:
Is there a way to save a directory (list of files) as a
single file ? I have a directory with 5,000 book titles
and I want to save a snapshot of what is seen on the
screen when I view the directory. I am trying to build
a "table of contents" for quick viewing instead of
constantly opening and closing the folder with all of my
books.


At the Start | Run line, type CMD to open a command prompt
window. In that window type

dir xxxx > yyyy

where xxxx is the path to the folder (directory) you're
interested in, and yyyy is the path and filename of where you
want the data saved.
 
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

Pressing the <PrtScn> key copies the entire display to the
clipboard. Pressing <ALT>+<PrtScn> copies only the active Window to
the clipboard (iow, into RAM). To view the screen capture, open a
graphics program, such as MS Paint, and press <CTRL>+V. This will
paste the contents of the clipboard (your screenshot) into the open
file, and allow you to view it or save it as a file for later use.

How to Capture Screen Shots in Windows Using the Print Screen Key
http://support.microsoft.com/search/preview.aspx?PR=1&scid=kb;en-us;Q173884


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
 
Back
Top