How to add to the right-click menu #818

Closed
opened 2026-01-30 22:05:22 +00:00 by claunia · 7 comments
Owner

Originally created by @shijunti19 on GitHub (May 8, 2019).

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"
Originally created by @shijunti19 on GitHub (May 8, 2019). How to add to the right-click menu This is a necessary function. Administrator mode must also be supported For example: ```cmd 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" ```
Author
Owner

@Dyalius commented on GitHub (May 8, 2019):

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

@Dyalius commented on GitHub (May 8, 2019): I got a script in my repo, for the same thing but vscode, you are free to modify
Author
Owner

@shijunti19 commented on GitHub (May 8, 2019):

@Dyalius I can't find exe for Windows Terminal

He's an uwp program.

@shijunti19 commented on GitHub (May 8, 2019): @Dyalius I can't find exe for Windows Terminal He's an uwp program.
Author
Owner

@shijunti19 commented on GitHub (May 8, 2019):

image

@shijunti19 commented on GitHub (May 8, 2019): ![image](https://user-images.githubusercontent.com/5392211/57353581-8bc00e80-719b-11e9-971a-47140f4784f1.png)
Author
Owner

@Summon528 commented on GitHub (May 8, 2019):

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

@Summon528 commented on GitHub (May 8, 2019): It's wt.exe More specifically `%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe`
Author
Owner

@shijunti19 commented on GitHub (May 8, 2019):

@Summon528 Thank you

@shijunti19 commented on GitHub (May 8, 2019): @Summon528 Thank you
Author
Owner

@yanglr commented on GitHub (May 31, 2019):

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

@yanglr commented on GitHub (May 31, 2019): @shijunti19 the complete steps are here: https://github.com/microsoft/terminal/issues/1060#issuecomment-497539461
Author
Owner

@KUTlime commented on GitHub (Feb 23, 2020):

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

@KUTlime commented on GitHub (Feb 23, 2020): @shijunti19 An easy-to-use solution can be found [here](https://github.com/KUTlime/PowerShell-Open-Here-Module).
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#818