Terminal Preview returns ERROR_FILE_NOT_FOUND when launching relative path #20012

Open
opened 2026-01-31 07:00:41 +00:00 by claunia · 0 comments
Owner

Originally created by @ChrisKnue-MSFT on GitHub (May 31, 2023).

Originally assigned to: @zadjii-msft on GitHub.

Windows Terminal version

1.18.1421.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

Attempt to launch a terminal from command line with a relative path for a file to launch. (ex: "wt .\test.ps1")

Expected Behavior

In 1.16.10262.0 this would launch the file

Actual Behavior

[error 2147942402 (0x80070002) when launching .\test.ps1]
is printed in the console.

Originally created by @ChrisKnue-MSFT on GitHub (May 31, 2023). Originally assigned to: @zadjii-msft on GitHub. ### Windows Terminal version 1.18.1421.0 ### Windows build number 10.0.22631.0 ### Other Software _No response_ ### Steps to reproduce Attempt to launch a terminal from command line with a relative path for a file to launch. (ex: "wt .\test.ps1") ### Expected Behavior In 1.16.10262.0 this would launch the file ### Actual Behavior [error 2147942402 (0x80070002) when launching `.\test.ps1`] is printed in the console.
claunia added the Issue-BugIn-PRNeeds-Tag-FixProduct-TerminalSeverity-Blocking labels 2026-01-31 07:00:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20012