How to print the contents of a folder in Windows 7, 8, and 8.1 [Guide]

Ever had a situation where you wished you could print out a list of all the contents of a folder or directory in Windows but couldn’t quite find any tool which could do that. Sure, hitting Print Screen and then pasting the contents of the clipboard onto Paint is an option. But not a very helpful one, if you wanted to edit the list later. Here’s a cool tip which will help you create a text file which lists out all files and/or sub folders within a said folder, and can be easily printed out later, should you need to do that.

How To Print The Contents Of A Folder In Windows 7, 8, and 8.1

  • Using Windows Explorer , Open the Folder whose contents you want to print as a list
  • Hold down the Shift key and Right-click on any blank space in the folder, and select Open Command Window Here from the Right-Click Menu
    Open Command Window Here
  • In the command prompt that pops up, type in the following commanddir > List.txt
    List command
  • This will automatically create a text file named List.txt inside the target folder
    List File in Folder
  • Open the List.txt file to view a complete list of files and folders, that you can easily print out if you need to
    Printable List

That was simple, wasn’t it? So if you ever need to print out a list of all the files and sub-folders within a folder in Windows, it shouldn’t take more than a few seconds to do that if you use this tip.

Share this post


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


  1. David Roper

    [@John Smith] But it’s nothing but Trialware that limits you to 4 filenames. Free Download doesn’t mean Freeware. Anyone can do the same with “DIR > Filename.txt”. Sorry, Charlie, Starkist wants Tuna that tastes good, not Tuna with Good taste.

  2. David Roper

    [@Allan Man] [@Allan Man] I remember “Karen” used to have a Freebie to print directories. She has passed on, sadly, but I am sure her software remains in the either somewhere. I bought her CD for about $10 once that had about 100 of her utilities, all freeware, on it.

    You can always write a (txt) batch file to go to the dir in question and redirect a DIR to a new txt file – lemme try here:
    DIR > MyList.txt (if you execute it inside the folder) or DIR c:\folder\folder2\*.* > MyList.txt

    I KNOW for sure it will work in Windows 7 home 32bit.

  3. Spacebones

    Anyone else tried FilerFrog available off the Cnet website? The listed developers web address link doesn’t seem to work so I cannot post it here.
    Useful little context menu app. Can give Simple or Detailed (indented) lists of directories and sub-directories which are saved in the directory you call for a list from.

  4. David Roper

    This is funny timing. I have been writing a compiled batch utility to do that very thing, fancied up with words to use for selecting filenames of a certain “ilk” like maybe “TIPS”, or “BBQ”, etc. It’s slick in my eyes of course. If only I could get a copy to those dottechers who wanted it somehow. I have no website. One day hopefully.

    The two already posted here are excellent ways, as well.

    I miss Karen. She always had the best utilities. With her passing, now it’s NIR.

  5. Louis

    May I suggest an easier alternative — this one (freeware) has existed since the old days, and still works in Win 7 (no idea about Win 8, but I’m sure it will as well) :

    Drive Z , find it at

    Simple as can be : browse to folder inside DriveZ & click “Make list and put on clipboard” button & paste it where-ever you want to.

    You can put in basic filters for file types as well