Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide option to add terminal in explorer #14220

Closed
twoco opened this issue Oct 14, 2022 · 5 comments
Closed

Provide option to add terminal in explorer #14220

twoco opened this issue Oct 14, 2022 · 5 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@twoco
Copy link

twoco commented Oct 14, 2022

It would be great if I can just right click on a folder (its background) and choose "Open in Terminal". Which simply opens the Windows Terminal with the path. Keep it simple. Just one context menu entry with the icon and text. No complex menu or additional options. I could add my own shell entry in regedit. But this should not the solution. The idea is to provide this option in the Terminal settings (add and remove; maybe just in user scope which requires no admin). Another problem is that the new Windows Terminal folder path (apps) has a dynamic folder (path) name. The app version is included. This makes it hard to add a custom shell entry. Even when using just the "wt" command instead of the path. I get an error (0x80070005). Anyway, it would be great if you provide an official solution.

@twoco twoco added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Oct 14, 2022
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Oct 14, 2022
@twoco
Copy link
Author

twoco commented Oct 14, 2022

Workaround: My current reg file:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\psterminal]
@="Terminal"
"icon"="C:\\Windows\\System32\\cmd.exe"

[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\psterminal\command]
@="wt -d ."

Icon is still set to cmd because the path to this Windows Terminal contains the version in name like:

C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.15.2712.0_x64__ect

Not sure if there is a solution like proxy or just another way to get the icon from wt app. Alternative solution: Just extract the icon, place it on a fixed path and set it as icon path.

@DHowett
Copy link
Member

DHowett commented Oct 14, 2022

This should work today; we offer a right-click option on all folders, selected items that are folders, and the desktop background.

I suspect you're seeing an issue where it's just not working properly?

What version of Windows are you running? What other shell extensions do you have installed?

(I'm gonna move this discussion over to /dup #14185)

@ghost
Copy link

ghost commented Oct 14, 2022

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Oct 14, 2022
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Oct 14, 2022
@twoco
Copy link
Author

twoco commented Oct 14, 2022

Ok, it seems that the explorer needs to be restarted (e.g. by killing process in task manager and run again or just reboot PC). I had weird behavior. Two instances of explorer was in task manager. In some paths it worked in other not. Anyway, sorry. A PC reboot (explorer restart) is the solution for everything. The IT Crowd didn't lie. ^^

@DHowett
Copy link
Member

DHowett commented Oct 14, 2022

Ha! Glad it helped!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants