Microsoft KB Archive/272623

= How to add the print directory feature to Windows Explorer =

Article ID: 272623

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server
 * Microsoft Windows Millennium Edition
 * Microsoft Windows 98 Second Edition
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q272623



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:   Open Notepad, and then copy and paste the following text into Notepad:   @echo off dir %1 /-p /o:gn > &quot;%temp%\Listing&quot; start /w notepad /p &quot;%temp%\Listing&quot; del &quot;%temp%\Listing&quot; exit  Save the file as Prin.bat in the Windows directory, and then close Notepad. Start Windows Explorer, click Tools, and then click Folder Options. Click the File Types tab, and then click File Folder. Click Edit, and then click New. In the Action box, type Print Directory Listing .</li> In Application used to perform action, click Prin.bat, and then click OK.</li> Click OK, click Apply, and then click OK.</li> Open Windows Explorer, right-click the folder that you would like to print a directory listing of, and then click Print Directory Listing.</li></ol>

Additional query words: Prin

Keywords: kbhowto KB272623

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.