2 Intern

 • 

28K Posts

July 13th, 2006 16:00

After all these years, Windows still does not have a built in utility to do this.  But, the following free program should do what you want:
 
 
Steve

2 Intern

 • 

12.7K Posts

July 14th, 2006 16:00

You can add print directory to your right click menu as follows:

 

This article was previously published under Q321379
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry

IN THIS TASK
SUMMARY

Create the Printdir.bat File
Create a New Action for File Folders
Edit the Registry
SUMMARY
This article describes how to add a "print directory" feature for folders in Windows XP. After you follow the steps in this article, you can right-click a folder, and then click Print Directory Listing to print a directory listing of the folder's contents.

back to the top
Create the Printdir.bat File
To create the Printdir.bat file:
Click Start, click Run, type notepad, and then click OK.
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

On the File menu, click Exit, and then click Yes to save the changes.
In the Save As dialog box, type %windir%\Printdir.bat, and then click Save.
back to the top
Create a New Action for File Folders
Click Start, click Control Panel (or, point to Settings, and then click Control Panel), and then click Folder Options.
On the File Types tab, click File Folder.
Click Advanced, and then click New.
In the Action box, type Print Directory Listing.
In the Application used to perform action box, type printdir.bat, and then click OK.
Click OK, click OK, and then click Close.
back to the top
Edit the Registry
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

After you follow the steps in the previous sections, Search Companion may start when you double-click a folder (instead of the folder being opened). Or, if you have associated other actions with file folders, those actions may be performed instead.

To resolve this issue:
Start Registry Editor (Regedt32.exe).
Locate the Default value under the following key in the registry:
HKEY_CLASSES_ROOT\Directory\shell

Click Modify on the Edit menu.
Type none in the File data box, and then click OK.
Quit Registry Editor.

2 Intern

 • 

4.4K Posts

July 14th, 2006 19:00

But Karen's print directory gives nicer looking output, with options on font,layout, etc.

2 Intern

 • 

12.7K Posts

July 14th, 2006 20:00

I agree, and free too!

I was just making the point that Windows does have a directory print function if you know how...

No Events found!

Top