Can I print a list of folder contents?

B

bagwash

Can anyone advise, please, whether I can save and/or print a list of folder
contents (other than by a screen dump)?
Thanks
 
G

Guest

Easy way could be using Command Prompt. Click Start - Run - type CMD and
press Enter key. Move to the directory whom contents you want to save or
print. Type:

dir > sample.txt

This will create a new file in the same directory with "Sample.txt" listing
all contents of your directory. Later, you can edit or print it by opening
this file in Notepad.

If you don't know how to move inside a folder using Command Prompt then use
Tweak UI to add Command Prompt in right-click context menu. To download this:

http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

Hope this help, let us know!
 
B

bagwash

Thanks enormously for these suggestions. I started with Gerry's PrintFolder
freeware, since it seemed the simplest, and it's perfect, so I won't need to
test out the other suggestions, though very grateful to all who responded.
 
K

Ken Blake, MVP

bagwash said:
Can anyone advise, please, whether I can save and/or print a list of
folder contents (other than by a screen dump)?


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
 
B

bagwash

Very grateful for these responses - went for PrintFolder as the easiest, and
does the job superbly.
 
G

Gerry Cornell

Glad to be able to help.


--

Regards.

Gerry
~~~~
FCA
Stourport, England

Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
 

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