Print folder contents - PLEASE HELP

S

shelly green

I'm wondering if I am able to print just the names of the documents in a
certain folder. There are over 700 documents of various types (Word, pdf)
and I would like to print out a list of them, but I don't want to print the
documents themselves. Does anyone know how this can be done? Using XP
Professional....
 
J

John John - MVP

Yes, this is pretty easy.

You can use third party utilities like Karen's Directory Printer:
http://www.karenware.com/powertools/ptdirprn.asp

Or you can add the Print Directory feature to the right click menu:

http://support.microsoft.com/kb/321379
How to add the Print Directory feature for folders in Windows XP and in
Windows Vista

Or you can simply use the dir command at a Command Prompt and redirect
the output of the command to a .txt file then open the file with Notepad
to print it. At a command prompt you can issue a similar type of command:

dir /b "c:\folder name" >c:\filename.txt

The output of the command is now in the filename.txt file. If there are
spaces in the directory name you must use quotation marks as shown
above. You can also easily send the output of the command directly to
an LPT printer but if you are using USB multifunction printer sending
directly to the printer is a bit more complicated, so just sending the
output to a file is faster and easier.

John
 
P

Pegasus [MVP]

shelly green said:
I'm wondering if I am able to print just the names of the documents in a
certain folder. There are over 700 documents of various types (Word, pdf)
and I would like to print out a list of them, but I don't want to print
the
documents themselves. Does anyone know how this can be done? Using XP
Professional....

Try this:
1. Modify the following *single* line by spelling out the correct folder
name. Use notepad or MS Word to unwrap the line if it wraps around.
cmd /c dir /on /b "c:\documents and settings\shelly\my documents" >
c:\dir.txt & notepad c:\dir.txt
2. Mark the whole line with your mouse.
3. Press Ctrl+C.
4. Click Start, then Run.
5. Press Ctrl+V.
6. Click OK
You will now have a screen with an alphabetically sorted list in front of
you.
 
K

Ken Blake, MVP

I'm wondering if I am able to print just the names of the documents in a
certain folder. There are over 700 documents of various types (Word, pdf)
and I would like to print out a list of them, but I don't want to print the
documents themselves. Does anyone know how this can be done? Using XP
Professional....



Here are four ways:

1. Go to a command prompt and issue the command

dir [drive:folder] > c:\tempfilename (you can use any name and put it
in any folder you want)

Then open notepad, open tempfilename, and print it from there.

2. Write (for example in Notepad) a 1-line text file:
DIR %1 /O >LPT1:

Save it as "printdir.bat" in the "Send To" folder.

Then, to print list of files in any folder, right-click that folder
and select Send to | printdir.bat

To include subfolders, change the comand to DIR %1 /O/S >LPT1:

3. Go to
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q321379 and
follow the instructions there.

4. Download and use any of the several freeware/shareware utilities
that can do this, such as the popular
http://www.karenware.com/powertools/ptdirprn.asp
 
J

Julie

I need to be able to print the file list of a DVD or CD. So I followed the
directions in 321379, including the regedit portion since it did start the
Search feature on a double-click. So when I click on a folder, it opens
properly...

HOWEVER since what I need to print isn't really a folder's list but a DVD's
list, I also added Print Directory Listing in the Folder Options for Drives,
Audio CD, and DVD.

Problem: When I try to open a drive letter, it opens the Search command as
the default.

I fear I went too far! :) Can you help me either change that OR tell me
how to undo the Print Directory command procedures (including the regedit)
and I'll then go start over and download the print directory feature from
Karenxxxxx? (I've seen that in lots of the MVP suggestions, just can't
remember the name of it right now).

Help me, Obiwan Knobbe (sp?)! (Thanks!)
Julie
 
J

Jim

I need to be able to print the file list of a DVD or CD. So I followed the
directions in 321379, including the regedit portion since it did start the
Search feature on a double-click. So when I click on a folder, it opens
properly...

HOWEVER since what I need to print isn't really a folder's list but a DVD's
list, I also added Print Directory Listing in the Folder Options for Drives,
Audio CD, and DVD.

Problem: When I try to open a drive letter, it opens the Search command as
the default.

I fear I went too far! :) Can you help me either change that OR tell me
how to undo the Print Directory command procedures (including the regedit)
and I'll then go start over and download the print directory feature from
Karenxxxxx? (I've seen that in lots of the MVP suggestions, just can't
remember the name of it right now).

Help me, Obiwan Knobbe (sp?)! (Thanks!)
Julie

Karenware http://www.karenware.com/powertools/ptdirprn.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top