5 Ways to Print Folder and Directory Contents in Windows

2010-06-24 1118 words 6 mins read

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category

<a HREF="http://feedproxy.google.com/~r/Makeuseof/~3/zKIpFnJgTKg/">5 Ways to Print Folder and Directory Contents in Windows

<img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/TNail1.png" ALIGN="bottom" ALT="" BORDER="0"/>It’s one of those simple tasks that suddenly come upon us and we have no idea how to go about it. I had a whole fat folder filled with ebooks and someone casually asked me to send over a list. A list… that sounds really simple.

Did I forget to mention that the ebook folder was really filled with a lot of titles? It must have had almost 120 ebooks. I almost started manually typing the names when I figured that there must be a less laborious way to print out the directory contents.

Printing directory contents seems so mundane an activity that we forget it has very useful applications in our day to day usage. Especially in a professional setting where you might be told to send over a list of so and so files about such and such subject. In a jiffy. If it’s a small bunch of files then manually writing it down is not a problem. But what if it numbers a few dozen?

Instead of searching for a poor flunky to lend a hand, you can just tap a few keys and get it for yourself. All in double quick time with a few methods.

So let’s work on not one but five ways to print folder and directory contents and get that file list.

<font SIZE="5">Command DOS

This is one <a HREF="http://www.makeuseof.com/tag/10-windows-command-line-tips-tricks-you-should-definitely-check-out/">command line that’s easy to remember and easy to do.

  1. Start the command prompt from

    Run – cmd. Type cd and the directory path of the folder you want to list.

  2. Type dir > print.txt
  3. Press Enter and exit from the DOS window.
  4. Open the folder you wanted the listed file content for and you should see a print.txt file. This is a simple Notepad file that can be copied or printed easily.

<font SIZE="5">Setting A Contextual Menu

A print directory feature can be added to the right-click context menu for a folder. This sends the folder content list directly to the printer. For Windows XP follow these steps:

  1. Create a batch file in Notepad by pasting the following text

    @echo off
    dir %1 /-p /o:gn > “%temp%Listing”
    start /w notepad /p “%temp%Listing”
    del “%temp%Listing”

  2. Save the file as


  3. Open Control Panel – Folder Options. Click on the File Types tab. Under the registered file types select the entry for Folder. Click on Advanced.<img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/2_Folder-Options.png" WIDTH="386" HEIGHT="475" ALIGN="bottom" ALT="2_Folder-Options" BORDER="0"/>
  4. In the Edit File Type box, click on New. In the Action box, type Print Directory Listing. In the Application used to perform action box, type printdir.bat.<img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/2_Edit-File-Type.png" WIDTH="418" HEIGHT="332" ALIGN="bottom" ALT="2_Edit-File-Type" BORDER="0"/>
  5. Click on OK and close all boxes.
  6. Right-click on any folder and use the Print Directory Listing command to send the list to the printer.<img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/2_Print-Directory-Listing.png" WIDTH="190" HEIGHT="239" ALIGN="bottom" ALT="2_Print-Directory-Listing" BORDER="0"/>

The above instructions and those for Windows Vista can also be found on the <a HREF="http://support.microsoft.com/kb/321379/en-us">Microsoft Help and Support page.

Software solutions introduce a lot of ease and flexibility to the above process. Here are three freeware apps for the listing job:

<font SIZE="4">Karen’s Power Tool

Karen’s Directory Printer brings with it a GUI and rich features that let you print the name of files on your computer with the file’s size, extension, date and time of last modification, and attributes. Also, the list of files can be sorted by name, size, date created, date last modified, or date of last access. Files can also be selectively listed using a filter. Some limited formatting options and selective highlighting for executable files and macros are available.

<img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/3_KDP.png" WIDTH="580" HEIGHT="449" ALIGN="bottom" ALT="3_KDP" BORDER="0"/>

Karen’s Directory Printer can be included in the right-click context menu. It also works for networked computers. The file list can be sent to the printer or saved as a text file.

Karen’s Directory Printer (v 5.3.1) is a 1.25MB <a HREF="http://www.karenware.com/powertools/ptdirprn.asp">download compatible with Windows XP and Vista.

<font SIZE="4">Display it with Directory List & Print

Directory List & Print is a simpler and smaller solution to the earlier one. The generated lists can be copied to the clipboard and incorporated in other programs. It can be directly inserted into Word and Excel with a click as the data is separated by tabs allowing error free pasting directly into a program like Excel as a table. Along with the file attributes, the program can control the display of file names with or without file extensions. Sorting of the list and integration into the context menus make this a nice alternative to use.

<img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/4_DLP.png" WIDTH="510" HEIGHT="624" ALIGN="bottom" ALT="4_DL&P" BORDER="0"/>

<a HREF="http://www.infonautics.ch/directorylistprint/">Directory List & Print (v 1.9) does not need an installation which makes this 603KB software a portable solution. The freeware is compatible with Windows 98/2000/XP/Vista.

More Options with JR Directory Printer

This freeware comes in as an even smaller download of 173KB. Select the folder or directory to list, check the display options and click on start to get the list as a text file. The freeware supports lowercase/DOS style filename, file size in KB/bytes, attributes and custom file length. Though the freeware lacks the data control options of the previous applications, it’s a simple utility for a simple task. The download can be unzipped and used without an installation.

<img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/5_JR-Directory-Printer.png" WIDTH="408" HEIGHT="293" ALIGN="bottom" ALT="5_JR-Directory-Printer" BORDER="0"/>

<a HREF="http://www.spadixbd.com/freetools/">JR Directory Printer (v1.2) is compatible with Windows 95/98/2000/NT/ME/XP.

Windows may not have given us the ability to print out folder contents in a user friendly way. But thanks to the workarounds and the freeware, it’s actually a snap. Do you know any other utility to print the contents of a folder? Let us know your way if it differs from any of the above.

Karen’s Directory Printer – <a HREF="http://www.karenware.com/powertools/ptdirprn.asp">Download
Directory List & Print – <a HREF="http://www.infonautics.ch/directorylistprint/">Download
JR Directory Printer – <a HREF="http://www.spadixbd.com/freetools/">Download

Did you like the post? Please do share your thoughts in the comments section!

New on MakeUseOf ? Get cheat sheets and cool PDF guides @ <a HREF="http://www.makeuseof.com/makeuseof-downloads/">www.makeuseof.com/makeuseof-downloads/

  • <a HREF="http://www.makeuseof.com/tag/tweak-windows-xpvista7-to-your-taste-with-xdn-tweaker/">Tweak Windows XP/Vista/7 to Your Taste with XdN Tweaker (6)
  • <a HREF="http://www.makeuseof.com/tag/four-simple-and-free-tips-to-organize-your-windows-experience/">The 4 Proven Simple Tips to Organize Your Files on Windows (15)
  • <a HREF="http://www.makeuseof.com/tag/how-to-set-default-programs-associations-context-menus-easily/">How To Set Default Programs, File Associations & Context Menus Easily (9)
  • <a HREF="http://www.makeuseof.com/tag/how-to-add-remove-entries-from-the-right-click-menu/">How To Add & Remove Entries from The Windows Right-Click Menu (19)
  • <a HREF="http://www.makeuseof.com/tag/useful-windows-registry-tweaks-part-2/">Windows Registry Tweaks (Part 2) (8)

<a HREF="http://feedads.g.doubleclick.net/~a/fhOa0rW2ItvYUH-WZwzGMbAKyDY/0/da"><img SRC="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/~a/fhOa0rW2ItvYUH-WZwzGMbAKyDY/0/di" ALIGN="bottom" BORDER="0"/>
<a HREF="http://feedads.g.doubleclick.net/~a/fhOa0rW2ItvYUH-WZwzGMbAKyDY/1/da"><img SRC="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/~a/fhOa0rW2ItvYUH-WZwzGMbAKyDY/1/di" ALIGN="bottom" BORDER="0"/>

<a HREF="http://feeds.feedburner.com/~ff/Makeuseof?a=zKIpFnJgTKg:Usprt7m7FF0:V_sGLiPBpWU"><img SRC="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/~ff/Makeuseof?i=zKIpFnJgTKg:Usprt7m7FF0:V_sGLiPBpWU" ALIGN="bottom" BORDER="0"/> <a HREF="http://feeds.feedburner.com/~ff/Makeuseof?a=zKIpFnJgTKg:Usprt7m7FF0:gIN9vFwOqvQ"><img SRC="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/~ff/Makeuseof?i=zKIpFnJgTKg:Usprt7m7FF0:gIN9vFwOqvQ" ALIGN="bottom" BORDER="0"/> <a HREF="http://feeds.feedburner.com/~ff/Makeuseof?a=zKIpFnJgTKg:Usprt7m7FF0:F7zBnMyn0Lo"><img SRC="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/~ff/Makeuseof?i=zKIpFnJgTKg:Usprt7m7FF0:F7zBnMyn0Lo" ALIGN="bottom" BORDER="0"/> <a HREF="http://feeds.feedburner.com/~ff/Makeuseof?a=zKIpFnJgTKg:Usprt7m7FF0:I9og5sOYxJI"><img SRC="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~ff/Makeuseof?d=I9og5sOYxJI" ALIGN="bottom" BORDER="0"/> <a HREF="http://feeds.feedburner.com/~ff/Makeuseof?a=zKIpFnJgTKg:Usprt7m7FF0:qj6IDK7rITs"><img SRC="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~ff/Makeuseof?d=qj6IDK7rITs" ALIGN="bottom" BORDER="0"/> <a HREF="http://feeds.feedburner.com/~ff/Makeuseof?a=zKIpFnJgTKg:Usprt7m7FF0:yIl2AUoC8zA"><img SRC="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~ff/Makeuseof?d=yIl2AUoC8zA" ALIGN="bottom" BORDER="0"/> <a HREF="http://feeds.feedburner.com/~ff/Makeuseof?a=zKIpFnJgTKg:Usprt7m7FF0:D7DqB2pKExk"><img SRC="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/~ff/Makeuseof?i=zKIpFnJgTKg:Usprt7m7FF0:D7DqB2pKExk" ALIGN="bottom" BORDER="0"/> <img SRC="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/~r/Makeuseof/~4/zKIpFnJgTKg" WIDTH="1" HEIGHT="1" ALIGN="bottom" BORDER="0"/>

URL: <a HREF="http://feedproxy.google.com/~r/Makeuseof/~3/zKIpFnJgTKg/">http://feedproxy.google.com/~r/Makeuseof/~3/zKIpFnJgTKg/


Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it