PATH commands not working #20765

Closed
opened 2026-01-31 07:23:25 +00:00 by claunia · 3 comments
Owner

Originally created by @arnbunchen on GitHub (Nov 3, 2023).

Windows Terminal version

1.18.2822.0

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

run wt.exe (PowerShell 7.3.9)
PS C:\Users\abc> tracert 1.1.1.2
tracert: The term 'tracert' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Users\abc> ping www.baidu.com
ping: The term 'ping' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

run $env:path return empty.

Open directly from the Start menu (PowerShell 7.3.9) works fine

Expected Behavior

No response

Actual Behavior

image

Originally created by @arnbunchen on GitHub (Nov 3, 2023). ### Windows Terminal version 1.18.2822.0 ### Windows build number 10.0.19045.0 ### Other Software _No response_ ### Steps to reproduce run wt.exe (PowerShell 7.3.9) PS C:\Users\abc> tracert 1.1.1.2 tracert: The term 'tracert' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. PS C:\Users\abc> ping www.baidu.com ping: The term 'ping' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. run $env:path return empty. Open directly from the Start menu (PowerShell 7.3.9) works fine ### Expected Behavior _No response_ ### Actual Behavior ![image](https://github.com/microsoft/terminal/assets/1029500/8567dda9-c5eb-4fd7-baf9-fe69cfc4b207)
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:23:25 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 3, 2023):

Almost certainly, this is /dup #16051. Thanks!

@zadjii-msft commented on GitHub (Nov 3, 2023): Almost certainly, this is /dup #16051. Thanks!
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Nov 3, 2023):

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!

@microsoft-github-policy-service[bot] commented on GitHub (Nov 3, 2023): 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! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Author
Owner

@arnbunchen commented on GitHub (Nov 3, 2023):

@zadjii-msft Thank you for your reply.

@arnbunchen commented on GitHub (Nov 3, 2023): @zadjii-msft Thank you for your reply.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20765