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, megtartása mellett ugyanazon az úton.
This tutorial assumes that Windows PowerShell is run as default when Windows Terminal is started
- Edit the registry as follows…
Kezdés Registry Editor
Win Key + R -> regedit -> kattintson az OK gombra
Itt található a címsorban a Registry Editor, ha nincs már mutatja
Nézet -> Címsor
-
Add the first registry entry to create the icon in the menu…
Registry Path:
HKEY_CLASSES_ROOT\Directory\Background\shellKattintson a jobb gombbal a shell -> New -> Key
Nevezze el a kulcsot
TerminalSzerkessze a (Alapértelmezett) karakterlánc ehhez
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} saját útját:
{path to icon}terminal.ico -
Add a második regisztrációs bejegyzés
Registry Path:
HKEY_CLASSES_ROOT\Directory\Background\shell\TerminalRight click Terminal -> New -> Key
Name the new key
commandParancsban, set the value of (Alapértelmezett):
wt -d . -
Adjuk hozzá a harmadik regisztrációs bejegyzés
Registry Path:
HKEY_CLASSES_ROOT\Directory\shellKattintson a jobb gombbal a shell -> New -> Key
Nevezze el a kulcsot
TerminalSzerkessze a (Alapértelmezett) karakterlánc ehhez
Windows Terminal HereRight click the new key Terminal -> New -> String
Name the new string
IconNyílt Ikon és állítsa be az értéket a következőképpen cseréje {path to icon} saját útját:
{path to icon}terminal.ico -
Adjuk hozzá a negyedik rendszerleíró bejegyzés
Registry Path:
HKEY_CLASSES_ROOT\Directory\shell\TerminalRight click Terminal -> New -> Key
In the new command key, az értéket a Default:
wt -d .
A helyi menü most meg kell dolgozni. Right click on the desktop and click Windows Terminal Here. Windows Terminal should open with PowerShell with the present working directory as your desktop.
