Is there a way to enable command prompts 'quick edit' mode from the command line?

Tired of having to right click and go to properties and enable quick edit. Is there a command I can run? a reg key I can modify from the cmd? Windows 10

3

2 Answers

There is a regkey in:

Computer\HKEY_CURRENT_USER\Console

There should be (or create it) a value QuickEdit of type DWORD, you can set it to 1.

Found it on:

Already answered here, update "QuickMode" setting in Windows Registry:

reg add HKCU\Console /v QuickEdit /t REG_DWORD /d 0 /f

However it will not affect currently opened window. But you can reopen a window:

:: Get QuickEdit Mode setting from Windows Registry
FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKCU\Console" /v QuickEdit`) DO ( set quickEditSetting=%%A %%B
)
if %quickEditSetting%==0x1 ( :: Disable QuickEdit Mode reg add HKCU\Console /v QuickEdit /t REG_DWORD /d 0 /f :: Open script in a new Command Prompt window start "" "%~dpnx0" %* && exit
)
... script logic here ...
exit

Additional info about HKEY_CURRENT_USER\Console Registry configuration -

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like