Add open CMD prompt here to context menu – Win 7

Save the following code to cmd.reg and then double click to add the contents to the registry.

Now press your right mouse button to see the new menu!

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\shell\runas]

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@=”Open Command Window Here as Administrator”
“HasLUAShield”=””

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@=”cmd.exe /s /k pushd \”%V\””

[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]

[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
@=”Open Command Window Here as Administrator”
“HasLUAShield”=””

[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]
@=”cmd.exe /s /k pushd \”%V\””

[-HKEY_CLASSES_ROOT\Drive\shell\runas]

[HKEY_CLASSES_ROOT\Drive\shell\runas]
@=”Open Command Window Here as Administrator”
“HasLUAShield”=””

[HKEY_CLASSES_ROOT\Drive\shell\runas\command]
@=”cmd.exe /s /k pushd \”%V\””

Print Friendly, PDF & Email

More Like This


Categories


Win 7 / 10 Tips & Tricks

Tags


  • Post a comment