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.
|
All messages in this thread [show all]
 |  | re: 'Print Out a Directory Listing' in Win2000 (norman: Wed, Mar 1, 2006, 6:33 pm) |
| |
| |
| |
Return to the Windows 2000 Discussion Forum
|
|