Terminal: How to add to the right-click menu

Created on 8 May 2019  路  7Comments  路  Source: microsoft/terminal

How to add to the right-click menu

This is a necessary function.

Administrator mode must also be supported

For example:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\folder\shell\cmd]
@="CMD"

[HKEY_CLASSES_ROOT\folder\shell\cmd\command]
@="cmd.exe /k cd %1"

Most helpful comment

@shijunti19
An easy-to-use solution can be found here.

All 7 comments

I got a script in my repo, for the same thing but vscode, you are free to modify

@Dyalius I can't find exe for Windows Terminal

He's an uwp program.

image

It's wt.exe
More specifically %LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe

@Summon528 Thank you

@shijunti19
the complete steps are here:
https://github.com/microsoft/terminal/issues/1060#issuecomment-497539461

@shijunti19
An easy-to-use solution can be found here.

Was this page helpful?
0 / 5 - 0 ratings