A week ago we covered how to create a Directory Contents List for folders in Windows using the command prompt. As one of our groovy readers suggested, this can also be added to the context menu as a shortcut command. Since it was such a good idea, here is the guide (Thanks Ted!). Using this small windows tweak, you can instantly Click and Print content lists of any folder in Windows 7 or Vista.
How To Print An Automatically Generated Directory List
1. Click the Windows Start Menu Orb and Type notepad into the Start Menu. Next Press Enter on your keyboard or Click the Notepad programs link.
2. Copy and Paste the following code into the blank notepad:
dir %1 /-p /o:gn > “%temp%Listing”
start /w notepad /p “%temp%Listing”
3. Click the File menu and Select Save As…
4. In the File Name text box Paste the following:
Then Click Save.*
*This typically will save the file to the location C:Windows with the name Printdir.bat
Now it’s time to create the registry key so the command appears in the right-click context menu.
If you want to skip the rest of these steps, you can Download the pre-made registry fix from the link at the bottom of this article.
5. Click the Windows Start Menu Orb, Type regedit in the search box, and then Press Enter.
6. Navigate through the left-pane of the registry to the following key:
Once there, Right-Click the shell key (looks like a folder) and then Select New > Key.
7. The new key should appear underneath shell. Rename the new key to Print Directory Listing.
The next two steps might feel a little repetitive, but the Windows registry is a pretty boring place.
8. Right-Click Print Directory Listing and Select New > Key.
9. The new key should show up under Print Directory Listing. Rename the new key to command.
Here we break the cycle, and edit the default file that normally never gets touched.
10. Under the command key you just created, Right-Click the default entry and Select Modify.*
*You can also just Double-Click the (Default) entry to modify it.
11. Type the following into the Value data box:
Once done, Click OK.
Done! Now here is the result.
Now when you Right-Click nearly any folder there will be a new option in the menu called Print Directory Listing. Take a note that this button is linked right to your default Windows Printer.
When you Click the Print Directory Listing option it will send an automatically generated text list of the folders contents straight to the default printer.