|
How to add the print directory feature to Windows Explorer
SUMMARY
This article explains how to add the print directory feature, and how to enable printing of the directory listing from within Windows Explorer.
MORE INFORMATION
To add the print directory feature to Windows Explorer, follow these steps:
1. Open Notepad, and then copy and paste the following text into Notepad:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit
2. Save the file as Prin.bat in the Windows directory, and then close Notepad.
3. Start Windows Explorer, click Tools, and then click Folder Options.
4. Click the File Types tab, and then click File Folder.
5. Click Edit, and then click New.
6. In the Action box, type Print Directory Listing.
7. In Application used to perform action, click Prin.bat, and then click OK.
8. Click OK, click Apply, and then click OK.
9. Open Windows Explorer, right-click the folder that you would like to print a directory listing of, and then click Print Directory Listing.
|