How to add Windows Terminal to the Windows Explorer context menu as “👩💻 Windows Terminal Here” ❔
The Windows context menu option ‘👩💻 Windows Terminal Here’ is handy to open Windows Terminal from Windows or Windows Explorer, pri tem pa ohranjajo isto pot.
This tutorial assumes that Windows PowerShell is run as default when Windows Terminal is started
- Edit the registry as follows…
Zaženite urejevalnik registra
Win Key + R -> regedit -> Kliknite V redu
Prikažite naslovno vrstico v urejevalniku registra, če še ni prikazana
Pogled -> Naslovna vrstica
-
Add the first registry entry to create the icon in the menu…
Registrska pot:
HKEY_CLASSES_ROOT\Directory\Background\shellDesni klik lupine -> Novo -> Ključ
Poimenujte ključ
TerminalUredite (privzeto) niz na
Windows Terminal HereRight click the new key Terminal -> New -> String
Name the new string
IconDownload the Windows Terminal Icon…
Open the Icon string and set the value as follows replacing {path to icon} s svojo potjo:
{path to icon}terminal.ico -
Dodajte drugi vnos v register
Registrska pot:
HKEY_CLASSES_ROOT\Directory\Background\shell\TerminalRight click Terminal -> New -> Key
Name the new key
commandV ukazu, set the value of (privzeto):
wt -d . -
Dodajte tretji vnos v register
Registrska pot:
HKEY_CLASSES_ROOT\Directory\shellDesni klik lupine -> Novo -> Ključ
Poimenujte ključ
TerminalUredite (privzeto) niz na
Windows Terminal HereRight click the new key Terminal -> New -> String
Name the new string
IconOdprite ikono in nastavite vrednost, kot sledi zamenjava {path to icon} s svojo potjo:
{path to icon}terminal.ico -
Dodajte četrti vnos v register
Registrska pot:
HKEY_CLASSES_ROOT\Directory\shell\TerminalRight click Terminal -> New -> Key
In the new command key, nastavite vrednost Privzeto:
wt -d .
Kontekstni meni bi zdaj moral delovati. Right click on the desktop and click Windows Terminal Here. Windows Terminal should open with PowerShell with the present working directory as your desktop.
