Skip to content

Instantly share code, notes, and snippets.

@SkyN9ne
Forked from jbsulli/cmd.reg
Created January 17, 2023 09:49
Show Gist options
  • Save SkyN9ne/3d6368f1ba3022993f15593bb10a19b4 to your computer and use it in GitHub Desktop.
Save SkyN9ne/3d6368f1ba3022993f15593bb10a19b4 to your computer and use it in GitHub Desktop.
Add "Open with CMD" option to the Windows 10 context menu (both when right-clicking on a folder and in a folder).
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD]
@="Open with CMD"
"Icon"="C:\\WINDOWS\\system32\\cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD\command]
@="cmd.exe /k cd %V"
[HKEY_CLASSES_ROOT\Directory\shell\OpenWithCMD]
@="Open with CMD"
"Icon"="C:\\WINDOWS\\system32\\cmd.exe"
[HKEY_CLASSES_ROOT\Directory\shell\OpenWithCMD\Command]
@="cmd.exe /k cd %1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment