View Full Version : how print dir list AND print to file?
sam musil
December 5th 03, 01:49 AM
hi
KB article Q321379 shows me a great way to print the
directory listing, but it only goes straight to the
printer. to make a useful table of contents for files saved
on CD, i need to edit the notepad document, get rid of the
unnecessary details, combine folder contenst on one page,
things like that. so i would like to modify the little bat
file they give you to also allow a "print to file" or "save
directory list" command.
can someone help me with that? i guess that might be useful
to lots of others too.
thanks so much.
sam
Bruce Chambers
December 5th 03, 01:49 AM
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.
Bruce Chambers
--
Help us help you:
http://dts-l.org/goodpost.htm
http://www.catb.org/~esr/faqs/smart-questions.html
You can have peace. Or you can have freedom. Don't ever count on
having both at once. -- RAH
"sam musil" > wrote in message
...
> hi
> KB article Q321379 shows me a great way to print the
> directory listing, but it only goes straight to the
> printer. to make a useful table of contents for files saved
> on CD, i need to edit the notepad document, get rid of the
> unnecessary details, combine folder contenst on one page,
> things like that. so i would like to modify the little bat
> file they give you to also allow a "print to file" or "save
> directory list" command.
> can someone help me with that? i guess that might be useful
> to lots of others too.
> thanks so much.
> sam
Kenny
December 5th 03, 01:49 AM
This'll do it.
http://www.karenware.com/powertools/ptdirprn.asp
--
Kenny
"sam musil" > wrote in message
...
> hi
> KB article Q321379 shows me a great way to print the
> directory listing, but it only goes straight to the
> printer. to make a useful table of contents for files saved
> on CD, i need to edit the notepad document, get rid of the
> unnecessary details, combine folder contenst on one page,
> things like that. so i would like to modify the little bat
> file they give you to also allow a "print to file" or "save
> directory list" command.
> can someone help me with that? i guess that might be useful
> to lots of others too.
> thanks so much.
> sam
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.