Archived from groups: microsoft.public.windowsxp.basics (
More info?)
Quick way to print the directory listing
Are you looking for a way to print the names of all the files in a
particular directory? Well, Windows Explorer does not have an option to do
this. But, here's a quick way to do just that:
1. Go to "Start | Run"
2. Type
COMMAND /C DIR directory_name >PRN
For example, if you want to print the list of files on your C drive's
root directory, type:
COMMAND /C DIR C:\ >PRN
To print the files list on your WINDOWS directory, type:
COMMAND /C DIR C:\WINDOWS >PRN
3. Press ENTER.
Not sure if this is of any assist in your case, but its something you can
build on via checking out all available Dos commands.
Piping is not hard if you know the symbols to use and there are plenty
of Dos Tutorials around not to mention Dos n/g's.
Piping ( | ) and redirects (> >> < <<) are all available for use and if
you do a " /? " after any command in Dos you will find all available
options.
(if you have " 4Dos " then you will get even more)
Hope this helps.
...Rex..
"Jim Hendry" <JTHendry@spamnothanksuklinux.net> wrote in message
news:d8q80p$o5k$1@s1.uklinux.net...
> Does anyone know how to pipe a directory listing in windows to a text or
> excel file which includes the file summary data, e.g.Title Comment
> Author Owner fields
>
> this would save me a lot of typing....
>
> appreciated, Jim