Windows Terminal join right-click menu and set shortcuts

Note: Explorer registry path and the path, we assume that Windows user name Admin, if not, please amend its own

Registry changes

Save icon attachment to the C:\Users\Admin\Picturespath, save hereinafter reg, double-click introduced

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows Terminal here (&T)"
"Icon"="C:\\Users\\Admin\\Pictures\\terminal.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="C:\\Users\\Admin\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe"

Then just add the right to open the shell has not changed the default path, we need to further modify the Terminal settings file

Terminal in settings

Open Terminal, according to ctrl+,open profiles.json, add the following need to modify profile (note the end of a line comma)

"startingDirectory": null

Renderings

Accessory address (using the Save As): terminal.ico

Guess you like

Origin www.cnblogs.com/36bian/p/11782673.html