PATH commands not working #20763

Open
opened 2026-01-31 07:23:20 +00:00 by claunia · 0 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:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20763