Annoyances.org
Home » Windows 2000 Discussion Forum » Message 1067356566 Search | Help | Home
  
re: 'Print Out a Directory Listing' in Win2000
Tuesday, October 28, 2003 at 7:56 am
Windows 2000 Annoyances Discussion Forum
Posted by Erik Berg (1 messages posted)


I'm unclear on how to do this; by "two-line Print.bat file" do you mean the four-line listing at the bottom of the post? And shouldn't the value for the key then be PRINT.BAT instead of PRINTDIR.BAT in the Registry key? How is the command then invoked? Right-clicking while in the directory you want to print? Or from Windows Explorer? Sorry, but I'm a registry newbie...Thanks.


On Saturday, March 29, 2003 at 5:19 pm, NFX wrote:
>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.



Written in response to:
'Print Out a Directory Listing' in Win2000 (WHO: Saturday, March 29, 2003 at 5:19 pm)

Responses to this message:
*re: 'Print Out a Directory Listing' in Win2000 (Barrie: Sunday, April 4, 2004 at 10:26 am)

All messages in this thread [show all]
-'Print Out a Directory Listing' in Win2000 (WHO: Sat, Mar 29, 2003, 5:19 pm)
*re: 'Print Out a Directory Listing' in Win2000 (Krystyna: Sun, May 4, 2003, 6:10 am)
*re: 'Print Out a Directory Listing' in Win2000 (Carl Osterwisch: Thu, Jun 12, 2003, 10:36 am)
-re: 'Print Out a Directory Listing' in Win2000 (Erik Berg: Tue, Oct 28, 2003, 7:56 am)
-re: 'Print Out a Directory Listing' in Win2000 (Barrie: Sun, Apr 4, 2004, 10:26 am)
*re: 'Print Out a Directory Listing' in Win2000 (Ben: Sat, Jan 7, 2006, 6:48 pm)
*re: 'Print Out a Directory Listing' in Win2000 (Frank: Fri, Mar 4, 2005, 8:51 pm)
*re: 'Print Out a Directory Listing' in Win2000 (norman: Wed, Mar 1, 2006, 6:33 pm)
*re: 'Print Out a Directory Listing' in Win2000 (norman: Wed, Mar 1, 2006, 6:37 pm)
Return to the Windows 2000 Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.