Categories
Article

Print Folders from the command line

People have been printing folders on DOS for decades. And you can do it the same way, even on Windows 7 – just go to the command line, go to the folder you want and type the following:

dir > file.txt

start file.txt

 
That will open Notepad (or your default program) with a file list like this:

You can now print this file normally, or pass it around.

You can also use dir > lpt1 if your printer is already set for that port.

There are plenty of parameters for dir, too. /S is the most common and displays all sub-folders