How-To Geek

Print or Create a Text File List of the Contents in a Directory the Easy Way

Have you ever found yourself needing a printable list or text file of the contents in a particular folder or location on your computer? Now you can have that list or text file in a matter of moments with Directory Print!


Directory Print does not require installation. Simply place the exe file into a folder or location of your choice, create a shortcut, and you are ready to go. Whenever you start Directory Print up, it will display the contents of the folder or location that it is in by default.


Directory Print in Action

To get started, navigate to the folder or location with the contents that you would like to view using the drop-down directory menu at the top. Once you have your chosen directory displayed, you can choose to either print a list of the contents or save the list to a text file.

Notice that you can make adjustments for what is and is not displayed in a particular folder or location (i.e. System Files, Read Only).

Note: Directory Print will display the various file types, but not any sub-folders located in the folder or location being viewed.


And the Text File?

Here is a look at the text file that Directory Print created for our example. Very nice!



Directory Print can be an extremely useful tool if you suddenly need to print out or create a text file list of the contents of a “My Documents”, “Music”, or other type of folder.


Download Directory Print (version 2.1, trialware)

Akemi Iwaya is a devoted Mozilla Firefox user who enjoys working with multiple browsers and occasionally dabbling with Linux. She also loves reading fantasy and sci-fi stories as well as playing "old school" role-playing games. You can visit her on Twitter and .

  • Published 09/9/09

Comments (21)

  1. ramfree17

    Open a command line and execute “dir /b” and it will produce the same output. You can also direct it to a file with “dir /b > C:\listoffiles.txt”. It can also recurse if you add the /s parameter.

    Bundle this with the tip on how to open command prompt in directories from within windows explorer and you have it made, except for sending the file to the printer. There are other tips on how to do that if you are interested though.


  2. Up2

    One other way to do it, is by using cmd prompt and type “dir >> mytextfile.txt.”

  3. Geoffrey van Wyk

    One would have thought that such a utility would be built into the operating system.

  4. krhainos

    What happened to “dir [location] [options] > [path to]stuff.txt” ? That just requires the Run dialog.

    i.e. dir /a /s d:\stuff > c:\stuff.txt

    /a (show all files), /s (include subdirs), /o[n,s,e,d] (sorting by name, size, .ext, date) are useful options — more can by found with /?

  5. John

    why I need this software when I can just type ‘tree /F’ in the command prompt to get the same output?

  6. dan

    Or you could just open a command prompt and type dir /w > c:\a_dir_list.txt

  7. Ben

    wtf? All you have to do is:
    dir > listing.txt
    in a dos prompt.

  8. JH

    That’s a useful utility if you do that sort of thing a lot, but for a once-off wouldn’t it be easier to use the ‘dir’ command, right click, select all, press enter and then paste into a text editor?

  9. Alfredo

    Just what i was looking for :D
    I bought a new hard drive yesterday i’m moving stuff from the one that’s almost full to that one.
    I have a lot of files and i wanted to do this so i want just have an index in a form as a text file so when i need to find something i just go to that text file and press control+F to find the file i want.
    Sure i could use the search tool on windows but that doesn’t give me an index in a form of a text file.


    ~ Alfredo

  10. infmom

    Oh, nice! I have a lot of CDs with archives on them and I can never remember what’s where. I can print out a list and put it inside the paper envelope. No more guessing.

    Yeah, I could do all that command line stuff (being a command line type of gal) but it’s easier this way. :)

  11. daniel

    why dont just use…
    dir >> directory.txt in the command line.

  12. strungout

    Karen’s directory printer vastly superior – been doing this on cd’s for years(print to pdf)

    Speaking of cd’s chkout dirhtml kind of a different slant on the same thing but more flexible(and you cant do a html directory print from the command line far as I creates a html menu from your directory.

    This one sucked when I tried it .Sorry.

  13. lukeocom

    aout time!
    why bother with commands when you can point and click!
    and yes, this should be an OS integrated feature.

  14. ray

    very handy tool, simple to use too :D

  15. drnapier

    RE:print-or-create-a-text-file-list-of-the-contents-in-a-directory-the-easy-way. This is a very handy tool, simple to use too. Thank you so much. Now my only question, is there a way LINK the directory name from the created list, to the document itself?

  16. Sandmanfilam

    Seriously though, it may give a straight up geek some serious wood to be able to type up all those archaic command lines (sure I’ve been guilty of this at times), but it’s definitely better using a GUI interface (you know, all point and click simplicity) and the one I’ve found to be the best so far is a program called Pir.

    Here’s the link to this guy’s website:

    Listen, this guy’s File Listing program is far FAR superior than Karen’s garbage a** want-to-rip-my-eyes out listing program. Aesthetics is important in life. Who want’s to look at ugly when you can have something pleasing on the eyes? Pir has color icons ( like you’d find in a regular directory listing in your windows) and the layout is very well done.

    Check that Pir out, I can’t believe it haven’t seen it before, but it’ll do what I need it to do, and what you all have been requesting for on here.

  17. Vince

    I found Folder Printer better then this tool.

  18. Greg

    Great app, if only it could list sub-directories and their contents too, going through 1directory at time is just too time consuming.

  19. Alan

    As a non geek this is much appreciated because I don’t want to get into a habit of commandline because scared a typo might have serious consequences.

  20. zammbi

    “wtf? All you have to do is:
    dir > listing.txt
    in a dos prompt.”

    Who want’s to use command line… Its not the 1990’s.

  21. jane0023

    it works! SUPER!

    could not find a program to generate the list
    DOS does things fastttt – moving/copying 10000s of files, creating 10000s folders, getting lists of items

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!