Skip to content

Instantly share code, notes, and snippets.

@benninkcorien
Created November 30, 2021 12:47
Show Gist options
  • Save benninkcorien/316ef285914cd17960bc8bb5e76dded1 to your computer and use it in GitHub Desktop.
Save benninkcorien/316ef285914cd17960bc8bb5e76dded1 to your computer and use it in GitHub Desktop.
I like Console2 as my command prompt. You can add "Open Console2 Here" to the right-click menu with this reg file.
Windows Registry Editor Version 5.00
; I like Console2 as my command prompt.
; This files adds "Open Console2 Here" to the rightclick menu when you click on a folder.
; I installed Console2 in C:\Console2
; -d specifies which directory to open, %V passes the one where you right clicked in
; no clue what the ,0 is after icon. Probably the first one it finds? Whatever, it works.
[HKEY_CLASSES_ROOT\Directory\shell\console2]
@="Open Console2 here"
"Icon"="C:\\Console2\\console.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\console2\command]
@="\"C:\\Console2\\console.exe\" -d \"%V\""
@benninkcorien
Copy link
Author

; To remove:
; save this as removerightclickopenconsole2here.reg and run it
[-HKEY_CLASSES_ROOT\Directory\shell\console2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment