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, mientras se mantiene el mismo camino.
This tutorial assumes that Windows PowerShell is run as default when Windows Terminal is started
- Edit the registry as follows…
Iniciar el Editor del Registro
Win Key + R -> regedit -> Haga clic en Aceptar
Mostrar la barra de direcciones en el Editor del Registro, si no está ya mostrando
Ver -> Barra de direcciones
-
Add the first registry entry to create the icon in the menu…
Ruta del registro:
HKEY_CLASSES_ROOT\Directory\Background\shellHaga clic derecho en Shell -> Nuevo -> Clave
Nombra la clave
TerminalEdite el (Defecto) cadena a
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} con su propio camino:
{path to icon}terminal.ico -
Añadir la segunda entrada de registro
Ruta del registro:
HKEY_CLASSES_ROOT\Directory\Background\shell\TerminalRight click Terminal -> New -> Key
Name the new key
commandEn comando, set the value of (Defecto):
wt -d . -
Añadir la tercera entrada del registro
Ruta del registro:
HKEY_CLASSES_ROOT\Directory\shellHaga clic derecho en Shell -> Nuevo -> Clave
Nombra la clave
TerminalEdite el (Defecto) cadena a
Windows Terminal HereRight click the new key Terminal -> New -> String
Name the new string
IconIcono abierto y establece el valor de la siguiente sustitución {path to icon} con su propio camino:
{path to icon}terminal.ico -
Añadir la cuarta entrada del registro
Ruta del registro:
HKEY_CLASSES_ROOT\Directory\shell\TerminalRight click Terminal -> New -> Key
In the new command key, establecer el valor de defecto:
wt -d .
El menú de contexto debería funcionar. Right click on the desktop and click Windows Terminal Here. Windows Terminal should open with PowerShell with the present working directory as your desktop.
