将Windows Terminal加入右键菜单

保存reg导入

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt-cmd]
 @="Open CMD Using Windows Terminal Here"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt-cmd\command]
 @="C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -p cmd -d ."
 
 [HKEY_CLASSES_ROOT\Directory\Background\shell\wt-debian]
 @="Open WSL-Debian Using Windows Terminal Here"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt-debian\command]
 @="C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -p Debian -d ."
 
 [HKEY_CLASSES_ROOT\Directory\Background\shell\wt-gitbash]
 @="Open Git Bash Using Windows Terminal Here"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt-gitbash\command]
 @="C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -p GitBash -d ."

此处评论已关闭