PDA

View Full Version : printing the contents of a directory


Alisa Coffin
December 5th 03, 12:36 AM
I want to do something very basic. I want to print the
list of files in a subdirectory. The only way I can
think of how to do this is to use the DOS prompt, list
the files, copy the names into a word processor and
print. I cannot believe that Windows explorer does not
include an option to print the filenames in a directory.

Does anyone know a straightforward way of doing this?

Thorsten Matzner
December 5th 03, 12:36 AM
"Alisa Coffin" > wrote:

>I want to do something very basic. I want to print the
>list of files in a subdirectory.

See "How to Add a "Print Directory" Feature for Folders in Windows XP"
(http://support.microsoft.com/?kbid=321379).

--
(tm)

Ian Clark
December 5th 03, 12:36 AM
"Alisa Coffin" > wrote in message
...
> I want to do something very basic. I want to print the
> list of files in a subdirectory. The only way I can
> think of how to do this is to use the DOS prompt, list
> the files, copy the names into a word processor and
> print. I cannot believe that Windows explorer does not
> include an option to print the filenames in a directory.
>
> Does anyone know a straightforward way of doing this?

Go to DOS,
CD to the directory you want e.g. x:\dirname

type dir /s /o >c:\dirlist.txt

E.g.

C:\Myfiles>dir /s /o >c:\dirlist.txt

This will output the contents of Myfiles to a text file called dirlist.txt
in the root of your C drive. You can then open this up in notepad or wordpad
and print out. Alteratively you can check up what Thorsten suggested.

Here is an example below of a directory listing I created and outputted to a
text file.

----
Volume in drive D is D Drive
Volume Serial Number is 083E-C9F0

Directory of D:\directory

07/05/2003 18:19 <DIR> .
07/05/2003 18:19 <DIR> ..
07/05/2003 18:19 <DIR> Folder 2
07/05/2003 18:19 <DIR> Folder 3
07/05/2003 18:06 0 textdoc.txt
1 File(s) 0 bytes

Directory of D:\directory\Folder 2

07/05/2003 18:19 <DIR> .
07/05/2003 18:19 <DIR> ..
07/05/2003 18:19 214,166 images.jpg
07/05/2003 18:16 0 Textfile.txt
2 File(s) 214,166 bytes

Directory of D:\directory\Folder 3

07/05/2003 18:19 <DIR> .
07/05/2003 18:19 <DIR> ..
07/05/2003 18:19 <DIR> Docs
0 File(s) 0 bytes

Directory of D:\directory\Folder 3\Docs

07/05/2003 18:19 <DIR> .
07/05/2003 18:19 <DIR> ..
07/05/2003 18:19 0 moretext.txt
1 File(s) 0 bytes

Total Files Listed:
4 File(s) 214,166 bytes
11 Dir(s) 49,634,447,360 bytes free

torres
December 5th 03, 12:36 AM
Directory Printer from www.karenware.com
"Alisa Coffin" > wrote in message
...
> I want to do something very basic. I want to print the
> list of files in a subdirectory. The only way I can
> think of how to do this is to use the DOS prompt, list
> the files, copy the names into a word processor and
> print. I cannot believe that Windows explorer does not
> include an option to print the filenames in a directory.
>
> Does anyone know a straightforward way of doing this?

Ian Clark
December 5th 03, 12:36 AM
"torres" > wrote in message
...
> Directory Printer from www.karenware.com
> "Alisa Coffin" > wrote in message
> ...
> > I want to do something very basic. I want to print the
> > list of files in a subdirectory. The only way I can
> > think of how to do this is to use the DOS prompt, list
> > the files, copy the names into a word processor and
> > print. I cannot believe that Windows explorer does not
> > include an option to print the filenames in a directory.
> >
> > Does anyone know a straightforward way of doing this?
>
>


I had to search for your reply ! Not only did you top post it but you put
absolutely no spaces in between your reply and the original question.
However, for the benfit of others.



"torres" > wrote in message (albeit in a stupid place)
...

Directory Printer from www.karenware.com

Ian Clark
December 5th 03, 12:36 AM
"torres" > wrote in message
...
> Directory Printer from www.karenware.com
> "Alisa Coffin" > wrote in message
> ...
> > I want to do something very basic. I want to print the
> > list of files in a subdirectory. The only way I can
> > think of how to do this is to use the DOS prompt, list
> > the files, copy the names into a word processor and
> > print. I cannot believe that Windows explorer does not
> > include an option to print the filenames in a directory.
> >
> > Does anyone know a straightforward way of doing this?
>
>


I had to search for your reply ! Not only did you top post it but you put
absolutely no spaces in between your reply and the original question.
However, for the benefit of others.



"torres" > wrote in message (albeit in a stupid place)
...

Directory Printer from www.karenware.com

Ed Rockman
December 5th 03, 12:37 AM
You can do this in Outlook (not OE). Go to My Computer and then navigate to
the subdirectory you want. Then, print.

"Alisa Coffin" > wrote in message
...
> I want to do something very basic. I want to print the
> list of files in a subdirectory. The only way I can
> think of how to do this is to use the DOS prompt, list
> the files, copy the names into a word processor and
> print. I cannot believe that Windows explorer does not
> include an option to print the filenames in a directory.
>
> Does anyone know a straightforward way of doing this?

torres
December 5th 03, 12:38 AM
sorry about the "top posting" but im really new to this or any newsgroups
posring. I guess I will learn as I go. Hope the site I sent helped

ps... what is top posting?



"Ian Clark" > wrote in message
...
> "torres" > wrote in message
> ...
> > Directory Printer from www.karenware.com
> > "Alisa Coffin" > wrote in message
> > ...
> > > I want to do something very basic. I want to print the
> > > list of files in a subdirectory. The only way I can
> > > think of how to do this is to use the DOS prompt, list
> > > the files, copy the names into a word processor and
> > > print. I cannot believe that Windows explorer does not
> > > include an option to print the filenames in a directory.
> > >
> > > Does anyone know a straightforward way of doing this?
> >
> >
>
>
> I had to search for your reply ! Not only did you top post it but you put
> absolutely no spaces in between your reply and the original question.
> However, for the benefit of others.
>
>
>
> "torres" > wrote in message (albeit in a stupid place)
> ...
>
> Directory Printer from www.karenware.com
>
>

Ian Clark
December 5th 03, 12:39 AM
Top posting is posting above the message. It's not a major hassle but it
"can be annoying"


"torres" > wrote in message
...
> sorry about the "top posting" but im really new to this or any newsgroups
> posring. I guess I will learn as I go. Hope the site I sent helped
>
> ps... what is top posting?
>


Bottom posting is below the message and in most cases, the preferred method
:o)
At least this is the way I see it :o)

(queue the debate on "proper" newsreaders heh :o)

Google