Thanks to both of you, very nice. You probably already know , but for those who don't you can also redirect stderr to a file with 2> . That way you may not need to copy the text from the window.
-----Original Message----- From: Free, Bob [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2008 10:43 PM To: NT System Admin Issues Subject: RE: batch route add Ah, a man after my own heart, my explorations came up with different registry paths, I will have to check out yours, it's slightly different approach but essentially the same result.. I love the Autorun...never seen that used in this context before.. I can ditch my little cmd file I set my prompt with.[1] Thanks! The other benefit I find, in addition to those you mentioned, is in logging and documenting things, especially when jumping around troubleshooting or doing things like schema extensions. I bump the buffer up to some huge value, even in some scripts leave everything echoed to the screen, edit, select all and you have a log for change management, permanent logs, notifications and/or future reference. [1] I use %computername%\%userdomain%\%username%$_$D$S$T$_$_$M$P$G right now but it's infinitely flexible and fun to play with. -----Original Message----- From: Kurt Buff [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2008 1:09 PM To: NT System Admin Issues Subject: Re: batch route add For those who RTFM, or do some exploring on their own, it's probably better to: Select the cmd window ALT+CTRL+Space to drop down the options window, or click on the upper-left corner of the cmd box Select Properties Under the options tab mark at least Quick Edit Mode and Edit Mode - I also like to check Discard Old Duplicates the the Large cursor size Under layout, put 5000 (or more) in the Screen Buffer Size Height field - the others will depend on your preferences and screen resolution Then make the following registry changes (first line optional, but I like this prompt) which will give you tab completion, among other things: ----------Start Reg Entry file---------- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor] "AutoRun"="prompt [%computername%]$S$T$S$D$S$P$S$M$G$+$_#" "CompletionChar"=dword:00000009 "DefaultColor"=dword:00000000 "EnableExtensions"=dword:00000001 "PathCompletionChar"=dword:00000009 ----------End Reg Entry File---------- you will have a command prompt that looks like this (note that the cursor follows the '#', and is two lines long): [KBUFF2003] 11:09:12.80 2007-07-23 C:\ } # Note that the date/time formats will vary depending on what your Regional settings are, as set in the Control Panel. I strongly suggest setting your time format to HH:mm:ss and your date format to YYYY-MM-DD. This will produce output and displays that sort better and are less ambiguous, and ultimately more readable, once you get used to them. Kurt On Fri, Jun 27, 2008 at 12:23 PM, Salvador Manzo <[EMAIL PROTECTED]> wrote: > For those following along at home > Right click in CMD window > MARK > (select area) > PASTE resulting text. > > Alternately > CMD command > somefile.txt > > > (yes, I'm a Luddite who prefers plain text emails whenever possible) > > > On 6/27/08 12:16 PM, "Bob Free" <[EMAIL PROTECTED]> wrote: > >>> In future, perhaps you could embed a standard JPG instead >> >> ./rant on >> >> Are you serious? How about learn how to use the clipboard to freaking copy the >> text from a cmd prompt instead of sending a picture. Major pet peeve of mine. >> >> Sorry to be harsh but that's about as lame as it gets, only thing worse >> sending a graphic of a cmd window is sending the entire desktop ...oops, >> that's what just happened. >> >> Besides that, I have gotten screenshots of the desktop, in freaking multi-MB >> bitmaps no less from ppl trying to send me a single event from event viewer. I >> tell them they need to learn to use the clipboard before I will help them..or >> find a new line of work. >> >> >> >> >> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Sent: Friday, June 27, 2008 11:54 AM >> To: NT System Admin Issues >> Cc: NT System Admin Issues >> Subject: RE: batch route add >> >> >> >> "Ara Avvali" <[EMAIL PROTECTED]> wrote on 06/26/2008 02:58:00 PM: >> >>> Screen shot attachted >>> >>> [image removed] >> >> For anyone interested, Lotus Notes has no intrinsic view for .PNG graphics >> such as this. In future, perhaps you could embed a standard JPG instead, >> please? JPGs are much more ubiquitous than .PNGs. >> >> Thanks > > > ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ > ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~ > ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~ ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~ *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. *** ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~