Context Menu Integration #10599

Closed
opened 2026-01-31 02:25:30 +00:00 by claunia · 2 comments
Owner

Originally created by @JenuelDev on GitHub (Sep 11, 2020).

Description of the new feature/enhancement

The feature that I would like and I think most programmers want is the ability to open the terminal in a specified directory. In that said the feature is when a client/user right click on a folder he/she will be given an option to open the terminal in the specified directory.

this will is a good way to open terminal in a directory easily.

Proposed technical implementation details (optional)

You see, I was trying to create this feature by myself so that I can actually open the terminal in the directory. the problem is that it seems I cant able to work. Please check the images bellow.

this is the bat files the I created to easily add and removes in the registry.
1

if you run the install.bat, you will be able to get this options when right clicking to a folder or inside a folder.
2
3

the problem was when I tried to click Open Winders Terminal here. The terminal shows this error.
4

the source code is in my repo.

MyRepo

Originally created by @JenuelDev on GitHub (Sep 11, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement The feature that I would like and I think most programmers want is the ability to open the terminal in a specified directory. In that said the feature is when a client/user right click on a folder he/she will be given an option to open the terminal in the specified directory. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> this will is a good way to open terminal in a directory easily. # Proposed technical implementation details (optional) You see, I was trying to create this feature by myself so that I can actually open the terminal in the directory. the problem is that it seems I cant able to work. Please check the images bellow. this is the bat files the I created to easily add and removes in the registry. ![1](https://user-images.githubusercontent.com/31676163/92946064-bce3d980-f488-11ea-88ba-10177b2a55ea.png) if you run the install.bat, you will be able to get this options when right clicking to a folder or inside a folder. ![2](https://user-images.githubusercontent.com/31676163/92946070-be150680-f488-11ea-9f0f-2cfa234f956d.png) ![3](https://user-images.githubusercontent.com/31676163/92946073-bead9d00-f488-11ea-98f1-e1594af88f65.png) the problem was when I tried to click Open Winders Terminal here. The terminal shows this error. ![4](https://user-images.githubusercontent.com/31676163/92946077-bf463380-f488-11ea-8dc1-628714352787.png) the source code is in my repo. # [MyRepo](https://github.com/MisterJ936/Explorer-Context-Menu-Integration-for-windows-terminal) <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 02:25:30 +00:00
Author
Owner

@WSLUser commented on GitHub (Sep 11, 2020):

/dup https://github.com/microsoft/terminal/issues/6111

@WSLUser commented on GitHub (Sep 11, 2020): /dup https://github.com/microsoft/terminal/issues/6111
Author
Owner

@DHowett commented on GitHub (Sep 11, 2020):

I'm sorry--we can't look at that code. It doesn't have an open-source license (or any license at all), and it is therefore proprietary software.

Based on your error message, you are using new instead of new-tab and you are not passing the -d option.

You may want to look at the output of wt new-tab --help to validate how the starting directory should be passed. :)

(Our built-in shell extension doesn't support directory/desktop backgrounds because of a Windows bug ☹️ #6414)

@DHowett commented on GitHub (Sep 11, 2020): I'm sorry--we can't look at that code. It doesn't have an open-source license (or any license at all), and it is therefore proprietary software. Based on your error message, you are using `new` instead of `new-tab` and you are not passing the `-d` option. You may want to look at the output of `wt new-tab --help` to validate how the starting directory should be passed. :) (Our built-in shell extension doesn't support directory/desktop backgrounds because of a Windows bug ☹️ #6414)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10599