windows_wiki:registry_-_right_click_open_cmd_here

Registry - Right Click, Open CMD Here

General Information

Registry code to add an “Open CMD Here” option to right click.

Checklist

  • OS: Tested on Windows 7, probably works on others.

file rightclick_openhere.reg
Windows Registry Editor Version 5.00
 
; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: http://www.sevenforums.com/tutorials/134840-open-command-window-here-add-remove-shift-right-click.html
 
 
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd]
@="@shell32.dll,-8506"
"Extended"=-
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command]
@="cmd.exe /s /k pushd \"%V\""
 
 
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="@shell32.dll,-8506"
"Extended"=-
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /s /k pushd \"%V\""
 
 
[HKEY_CLASSES_ROOT\Drive\shell\cmd]
@="@shell32.dll,-8506"
"Extended"=-
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\Drive\shell\cmd\command]
@="cmd.exe /s /k pushd \"%V\""
  • windows_wiki/registry_-_right_click_open_cmd_here.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)