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, притоа задржувајќи го истиот пат.
This tutorial assumes that Windows PowerShell is run as default when Windows Terminal is started
- Edit the registry as follows…
Стартувајте го уредувачот на регистарот
Win Key + R -> regedit -> Кликнете ОК
Покажете ја лентата за адреси во Уредувачот на регистарот ако веќе не се прикажува
Прикажи -> Лента за адреси
-
Add the first registry entry to create the icon in the menu…
Патека во регистарот:
HKEY_CLASSES_ROOT\Directory\Background\shellДесен клик на школка -> Ново -> Клуч
Именувајте го клучот
TerminalУредете го (стандардно) низа до
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} со свој пат:
{path to icon}terminal.ico -
Додадете го вториот запис во регистарот
Патека во регистарот:
HKEY_CLASSES_ROOT\Directory\Background\shell\TerminalRight click Terminal -> New -> Key
Name the new key
commandВо команда, set the value of (стандардно):
wt -d . -
Додадете го третиот запис во регистарот
Патека во регистарот:
HKEY_CLASSES_ROOT\Directory\shellДесен клик на школка -> Ново -> Клуч
Именувајте го клучот
TerminalУредете го (стандардно) низа до
Windows Terminal HereRight click the new key Terminal -> New -> String
Name the new string
IconОтворете ја иконата и поставете ја вредноста на следниов начин заменувајќи {path to icon} со свој пат:
{path to icon}terminal.ico -
Додадете го четвртиот запис во регистарот
Патека во регистарот:
HKEY_CLASSES_ROOT\Directory\shell\TerminalRight click Terminal -> New -> Key
In the new command key, поставете ја вредноста на Default:
wt -d .
Контексното мени сега треба да работи. Right click on the desktop and click Windows Terminal Here. Windows Terminal should open with PowerShell with the present working directory as your desktop.
