Flak
--
Eric P. van Westendorp Tel: +31(0252)210579
Reigerslaan 22 2215NN Voorhout Netherlands
To add a command to the context menu to print a directory listing.
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\Print\Command]
@="command.com /c dir \"%1\"> Prn
To add a command to the context menu to print a directory listing to a file
on the desktop.
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\List\Command]
@="command.com /c dir \"%1\"> c:\\windows\\desktop\\Dirlist.txt"
A single > replaces the file while a double > adds to the file. The format
of the listing will be determined by the dircmd environment setting or add
switches after the dir in the command line.
Type Dir /? in a MS-Dos Prompt window to see the options. Use Set in either
config.sys or autoexec.bat to set the default options,ie,
Set DIRCMD=/a /v /l /4
If using the DIRCMD environmental variable prefix it with a hyphen to turn
off. The next reg file prints only directories and sub directories without
the verbose (/v) settings.
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\Print Tree\Command]
@="command.com /c dir /-v /a:d /s \"%1\"> Prn
--
_____________________
David Candy
www.mvps.org/serenitymacros
"Flak" <fl...@gte.net> wrote in message news:3A0708F0...@gte.net...
Flak,
Have a look at ExpPrint www.jddesign.co.uk
Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.
Tony