"Open with Windows Terminal" Broken Path #16935

Closed
opened 2026-01-31 05:27:44 +00:00 by claunia · 2 comments
Owner

Originally created by @ghost on GitHub (Mar 5, 2022).

Windows Terminal version

1.11.3471.0

Windows build number

10.0.22000.527]

Other Software

No response

Steps to reproduce

Right click in a folder and click "Open With Windows Terminal" and try running a program that you exported in PATH.

Expected Behavior

The application or command to run.
I exported a program in PATH and it works just fine if you run cmd manually, but if ran when opening the terminal using "Open With Terminal", it is not found.

Actual Behavior

'...' is not recognized as an internal or external command,
operable program or batch file.

Originally created by @ghost on GitHub (Mar 5, 2022). ### Windows Terminal version 1.11.3471.0 ### Windows build number 10.0.22000.527] ### Other Software _No response_ ### Steps to reproduce Right click in a folder and click "Open With Windows Terminal" and try running a program that you exported in PATH. ### Expected Behavior The application or command to run. I exported a program in PATH and it works just fine if you run cmd manually, but if ran when opening the terminal using "Open With Terminal", it is not found. ### Actual Behavior '...' is not recognized as an internal or external command, operable program or batch file.
Author
Owner

@zadjii-msft commented on GitHub (Mar 7, 2022):

Is the Terminal already running when you open a new tab via the Explorer context menu? (If so, this is probably a riff on #1125).
If this is a "cold launch" (there aren't any other running Terminal windows), then this is at the very least #12602. (Maybe #11777 is related? but that seems less likely)

@zadjii-msft commented on GitHub (Mar 7, 2022): Is the Terminal already running when you open a new tab via the Explorer context menu? (If so, this is probably a riff on #1125). If this is a "cold launch" (there aren't any other running Terminal windows), then this is at the very least #12602. (Maybe #11777 is related? but that seems less likely)
Author
Owner

@ghost commented on GitHub (Mar 11, 2022):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Mar 11, 2022): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16935