Skip to content

Instantly share code, notes, and snippets.

@a358003542
Created November 18, 2016 01:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save a358003542/accc4a0789a6eb386020be12e58a065f to your computer and use it in GitHub Desktop.
Save a358003542/accc4a0789a6eb386020be12e58a065f to your computer and use it in GitHub Desktop.
quickly open your cmd in windows or quickly open your msys2 or mingw64 cmd window.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_mingw64]
@="Open MINGW64 here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_mingw64\command]
@="c:\\msys64\\msys2_shell.cmd -mingw64 -here"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_msys2]
@="Open MSYS2 here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_msys2\command]
@="c:\\msys64\\msys2_shell.cmd -msys2 -here"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd]
"Extended" =-
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\open_mingw64]
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\open_msys2]
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd]
"Extended" = ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment