'Print Out a Directory Listing' in Win2000
Saturday, March 29, 2003 at 5:19 pm Windows 2000 Annoyances Discussion Forum
Posted by WHO
(56 messages posted)
Setting PrintDir option in Context menu (Win2000):
* Save the two-line Print.bat file into your c:\winnt\ folder (win2k).
* Next, run the Registry Editor (REGEDIT.EXE).
* Open My Computer\ HKEY_CLASSES_ROOT\ Directory\ shell.
* Select New from the Edit menu, and then select Key.
* Type Print for the name of this new key, and press Enter.
* Highlight the new Print key, select New from the Edit menu, and then select
Key again.
* Type command for the name of this new key, and press Enter.
* Double-click on the (default) value in the right pane, and type
c:\winnt\PRINTDIR.BAT "%1" (NOTE THE QUOTES!) (assuming that c:\winnt\ is your Windows2000
folder).
Print.bat, save this file in c:\winnt\:
@echo off
dir %1 /o:ge /x>"%temp%\Listing"
start /w notepad "%temp%\Listing"
del "%temp%\Listing" exit
Nederfox.
|
Responses to this message:
|
|
All messages in this thread [show all]
 | 'Print Out a Directory Listing' in Win2000 (WHO: Sat, Mar 29, 2003, 5:19 pm) |
| |
| |
| |
Return to the Windows 2000 Discussion Forum
|
|