window terminal 玩法大全

window terminal 玩法大全

添加到右键菜单

第一步,创建文件夹

首先打开cmd,注意,gitbash无效。

运行下方命令:

1
mkdir "%USERPROFILE%\AppData\Local\Terminal"

第二步,下载window terminal ico图标

打开下方网址,将图标复制到上方,命令的路径

https://raw.githubusercontent.com/microsoft/terminal/master/res/terminal.ico

第三步,添加注册表文件

创建文件,代码如下,重命名成.reg格式

1
2
3
4
5
6
7
8
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows Terminal here"
"Icon"="C:\\Users\\[你的用户名]\\AppData\\Local\\Terminal\\terminal.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="C:\\Users\\[你的用户名]\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe"
-------------本稿が終わる感谢您的阅读-------------