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

  1. Edit the registry as follows…

    Стартувајте го уредувачот на регистарот

    Win Key + R -> regedit -> Кликнете ОК

    Покажете ја лентата за адреси во Уредувачот на регистарот ако веќе не се прикажува

    Прикажи -> Лента за адреси

     

  2. Add the first registry entry to create the icon in the menu…

    Патека во регистарот: HKEY_CLASSES_ROOT\Directory\Background\shell

    Десен клик на школка -> Ново -> Клуч

    Именувајте го клучот Terminal

    Уредете го (стандардно) низа до Windows Terminal Here

    Right click the new key Terminal -> New -> String

    Name the new string Icon

    Download the Windows Terminal Icon…

    Windows Terminal Icon

    Open the Icon string and set the value as follows replacing {path to icon} со свој пат:

    {path to icon}terminal.ico

     

  3. Додадете го вториот запис во регистарот

    Патека во регистарот: HKEY_CLASSES_ROOT\Directory\Background\shell\Terminal

    Right click Terminal -> New -> Key

    Name the new key command

    Во команда, set the value of (стандардно):

    wt -d .

     

  4. Додадете го третиот запис во регистарот

    Патека во регистарот: HKEY_CLASSES_ROOT\Directory\shell

    Десен клик на школка -> Ново -> Клуч

    Именувајте го клучот Terminal

    Уредете го (стандардно) низа до Windows Terminal Here

    Right click the new key Terminal -> New -> String

    Name the new string Icon

    Отворете ја иконата и поставете ја вредноста на следниов начин заменувајќи {path to icon} со свој пат:

    {path to icon}terminal.ico

     

  5. Додадете го четвртиот запис во регистарот

    Патека во регистарот: HKEY_CLASSES_ROOT\Directory\shell\Terminal

    Right 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.