This section, method, or task contains steps that tell you how to modify the registry. Click OK two times, and then click Close.In the Application used to perform action box, type printdir.bat.In the Action box, type Print Directory Listing.On the File Types tab, click File Folder.Or, click Start, point to Settings, click Control Panel, and then double-click Folder Options. Click Start, click Control Panel, and then double-click Folder Options.Step 2: Create a new action for file folders In the Save As dialog box, type the following text in the File name box, and then click Save: %windir%\Printdir.bat. On the File menu, click Exit, and then click Yes to save the changes. Paste the following text into Notepad: off For more information about how to add the print directory feature for folders in Windows 2000, in Windows Server 2003 or in Windows Server 2008, click the following article number to view the article in the Microsoft Knowledge Base: 272623 How to add the print directory feature to Windows Explorer More information Windows XP Step 1: Create the Printdir.bat fileĬlick Start, click Run, type notepad, and then click OK. Print Directory Listing to print a directory listing of the contents of a folder. This article describes how to print a directory listing of the contents of a folder by using the Print Directory feature.Īpplies to: Windows 10 - all editions Original KB number: 321379 SummaryĪfter you follow the steps that are described in the "More Information" section, you can right-click a folder and then click