Annoyances.org
Home » Windows 2000 Discussion Forum » Message 1141266820 Search | Help | Home
  
re: 'Print Out a Directory Listing' in Win2000
Wednesday, March 1, 2006 at 6:33 pm
Windows 2000 Annoyances Discussion Forum
Posted by norman (2 messages posted)


well these are enchanting BUT how can i hit a button or click a click and get dir > lpt funcionality! (i think that is how it went) (to print a directory listing from a command line) yooose guys all went crazy on making a file i would like just to print the listing


On Saturday, March 29, 2003 at 5:19 pm, WHO 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)

There are presently no replies 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)
*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.