- Home
- Windows Vista
- Customize
- How to add the Print Directory feature for file system folders in Windows Vista
How to add the Print Directory feature for file system folders in Windows Vista
Summary
This article describes how to add the Print Directory option in the context menu of file system folders in Windows Vista. Adding this option helps you quickly send the directory listing to the printer or a file.
Adding the "Print Directory" feature
- Click Start, type Notepad. When Notepad appears in the Start menu search results, right-click and choose Run as Administrator
- Copy the following text to Notepad:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit
- Click File, Save (CTRL+S), mention the file name/path as %windir%\printdir.bat and press ENTER. The file printdir.bat is now saved to the Windows folder.
- Download printdir_vista.reg from the Attachments section of this article.
- Save printdir_vista.reg to Desktop, right-click the file and choose Merge. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
Tip: If you want to only view the file contents, and don't want to send it to the printer, alter the 3rd line in the Printdir.bat above, so that the following command:
becomes:
start /w notepad /p "%temp%\Listing"
becomes:
start /w notepad "%temp%\Listing"
The Print Directory option is now added to the context menu of file system folders in your Windows Vista computer.
Attachments
Related Articles
- How to hide the "Delete" command from Recycle Bin context menu in Windows Vista
- How to open an elevated Command Prompt from the folder context menu in Windows Vista
- Using "Copy as Path" command to copy file or folder path to the clipboard in Vista
- How to add "Open Command Window Here" context menu option on file system folders in Windows Vista
- How to Add Items to the "Send To" Menu in Windows Vista
If you enjoyed this post, make sure you
subscribe to our RSS feed!
We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?
1 Response to "How to add the Print Directory feature for file system folders in Windows Vista" 
|
said this on 03 Jun 2007 5:27:54 PM PDT
In 1991, I had a Mac. In 1997, I switched to the IBM clone side. I missed Print Directory. Microsoft has always needed to add this and never did do it. Thanks for the How To.
|

Author)