Last active
March 22, 2023 15:09
-
-
Save brccabral/870b1b0849d18168df59763d1634ced7 to your computer and use it in GitHub Desktop.
Add Windows Explorer context Menu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Open files [HKEY_CLASSES_ROOT\*\shell\Open with VS Code] @="Edit with VS Code" | |
"Icon"="%LocalAppData%\\Programs\\Microsoft VS Code\\Code.exe,0" | |
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command] | |
@="\"%LocalAppData%\\Programs\\Microsoft VS Code\\Code.exe\" \"%1\"" | |
; This will make it appear when you right click ON a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\shell\vscode] | |
@="Open in VS Code" | |
"Icon"="\"%LocalAppData%\\Programs\\Microsoft VS Code\\Code.exe\",0" | |
[HKEY_CLASSES_ROOT\Directory\shell\vscode\command] | |
@="\"%LocalAppData%\\Programs\\Microsoft VS Code\\Code.exe\" \"%1\"" | |
; This will make it appear when you right click INSIDE a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode] | |
@="Open in VS Code" | |
"Icon"="\"%LocalAppData%\\Programs\\Microsoft VS Code\\Code.exe\",0" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command] | |
@="\"%LocalAppData%\\Programs\\Microsoft VS Code\\Code.exe\" \"%V\"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Open files [HKEY_CLASSES_ROOT\*\shell\Open in Terminal] @="Open in Terminal" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_xxx\\wt.exe,0" | |
[HKEY_CLASSES_ROOT\*\shell\Open in Terminal\command] | |
@="\"C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_xxx\\wt.exe\" wt -d \"%1\"" | |
; This will make it appear when you right click ON a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\shell\Terminal] | |
@="Open in Terminal" | |
"Icon"="\"C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_xxx\\wt.exe\",0" | |
[HKEY_CLASSES_ROOT\Directory\shell\Terminal\command] | |
@="\"C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_xxx\\wt.exe\" wt -d \"%1\"" | |
; This will make it appear when you right click INSIDE a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\Terminal] | |
@="Open in Terminal" | |
"Icon"="\"C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_xxx\\wt.exe\",0" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\Terminal\command] | |
@="\"C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_xxx\\wt.exe\" wt -d \"%V\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment