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

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

     

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

    Registry Path: HKEY_CLASSES_ROOT\Directory\Background\shell

    Kattintson a jobb gombbal a shell -> New -> Key

    Nevezze el a kulcsot Terminal

    Szerkessze a (Alapértelmezett) karakterlánc ehhez 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} saját útját:

    {path to icon}terminal.ico

     

  3. Add a második regisztrációs bejegyzés

    Registry Path: HKEY_CLASSES_ROOT\Directory\Background\shell\Terminal

    Right click Terminal -> New -> Key

    Name the new key command

    Parancsban, set the value of (Alapértelmezett):

    wt -d .

     

  4. Adjuk hozzá a harmadik regisztrációs bejegyzés

    Registry Path: HKEY_CLASSES_ROOT\Directory\shell

    Kattintson a jobb gombbal a shell -> New -> Key

    Nevezze el a kulcsot Terminal

    Szerkessze a (Alapértelmezett) karakterlánc ehhez Windows Terminal Here

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

    Name the new string Icon

    Nyí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

     

  5. Adjuk hozzá a negyedik rendszerleíró bejegyzés

    Registry Path: HKEY_CLASSES_ROOT\Directory\shell\Terminal

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