Skip to content

Instantly share code, notes, and snippets.

@AllanChain
Last active October 4, 2021 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AllanChain/822fb646c01ea4ae9b2a927c53ac2bd8 to your computer and use it in GitHub Desktop.
Save AllanChain/822fb646c01ea4ae9b2a927c53ac2bd8 to your computer and use it in GitHub Desktop.
Add "open wt" and "wt with profile" to context menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\openwtMore]
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\wtMore"
"MUIVerb"="wt with Profile"
"Icon"="D:\\Syncthing\\Material\\Img\\wt.ico"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore]
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell]
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\cmd]
"Icon"="C:\\Windows\\SysWOW64\\cmd.exe"
"MUIVerb"="cmd"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\cmd\command]
@="C:\\Users\\AC\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe new-tab -p \"Command Prompt\" -d \"%V\""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\pwsh]
"Icon"="C:\\Program Files\\PowerShell\\6\\pwsh.exe"
"MUIVerb"="pwsh"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\pwsh\command]
@="C:\\Users\\AC\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe new-tab -p \"PowerShell\" -d \"%V\""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\ipython]
"Icon"="D:\\Syncthing\\Material\\Img\\ipython.ico"
"MUIVerb"="IPython"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\ipython\command]
@="C:\\Users\\AC\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe new-tab -p IPython -d \"%V\""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\wsl]
"Icon"="D:\\Syncthing\\Material\\Img\\Ubuntu.ico"
"MUIVerb"="Ubuntu"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\wsl\command]
@="C:\\Users\\AC\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe new-tab -p Ubuntu -d \"%V\""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\zsh]
"Icon"="D:\\Syncthing\\Material\\Img\\gwindows_logo.ico"
"MUIVerb"="Zsh"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\zsh\command]
@="C:\\Users\\AC\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe new-tab -p \"Git Zsh\" -d \"%V\""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\runas]
"Icon"="D:\\Syncthing\\Material\\Img\\wt.ico"
"MUIVerb"="Wt &Administartor"
"hasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\wtMore\shell\runas\command]
@="C:\\Users\\AC\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe new-tab -p \"Command Prompt\" -d \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment