Difference between revisions of "Windows/CMD"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
There are very few reasons to disable this with the exception that when you select the text in the window an application running currently in that window will stop. I have some stories of mission critical stuff stopping all of a sudden when an operator selected some text in <tt>cmd</tt>. |
There are very few reasons to disable this with the exception that when you select the text in the window an application running currently in that window will stop. I have some stories of mission critical stuff stopping all of a sudden when an operator selected some text in <tt>cmd</tt>. |
||
reg add HKCU\Console /v QuickEdit /t REG_DWORD /d '''0''' /f |
reg add HKCU\Console /v QuickEdit /t REG_DWORD /d '''0''' /f |
||
=== Preventing CMD from halting the running process when selecting text === |
|||
If you have mission critical windows processes running in a cmd windows as the same user you may want to make sure they are tamper proof. This will do: |
|||
cmdow @ /dis <span class="input"><Command></span> |
|||
== References == |
== References == |
||
* [http://www.windowsnetworking.com/nt/registry/rtips40.shtml Quick Edit Mode for CMD] |
* [http://www.windowsnetworking.com/nt/registry/rtips40.shtml Quick Edit Mode for CMD] |
||
* [http://www.commandline.co.uk/cmdow cmdow] |
Revision as of 22:59, 15 May 2012
There are probably better guides to the Windows CMD shell but this is just a collection of stuff that I used over the years and want to keep close.
Enable Quick Edit Mode
Never quite got why this is not set by default. Here is a quick reg recipie for Windows XP.
reg add HKCU\Console /v QuickEdit /t REG_DWORD /d 1 /f
Disable Quick Edit Mode
There are very few reasons to disable this with the exception that when you select the text in the window an application running currently in that window will stop. I have some stories of mission critical stuff stopping all of a sudden when an operator selected some text in cmd.
reg add HKCU\Console /v QuickEdit /t REG_DWORD /d 0 /f
Preventing CMD from halting the running process when selecting text
If you have mission critical windows processes running in a cmd windows as the same user you may want to make sure they are tamper proof. This will do:
cmdow @ /dis <Command>