Terminal: Context Menu Integration

Created on 11 Sep 2020  路  2Comments  路  Source: microsoft/terminal

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

Issue-Question Needs-Tag-Fix Resolution-Answered

All 2 comments

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)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

migueldeicaza picture migueldeicaza  路  58Comments

HLFH picture HLFH  路  68Comments

Paul-Weisser picture Paul-Weisser  路  71Comments

CobusKruger picture CobusKruger  路  60Comments

amithegde picture amithegde  路  114Comments