Terminal wont open path with a space in it when using -d flag #17769

Open
opened 2026-01-31 05:52:51 +00:00 by claunia · 0 comments
Owner

Originally created by @FANS4ever on GitHub (Jun 21, 2022).

Windows Terminal version

1.14.1451.0

Windows build number

10.0.19044.0

Other Software

PowerShell 7.2.2
Command Prompt Microsoft Windows [Version 10.0.19044.1706]

Steps to reproduce

The issue occurs when using the "-d" flag
wt.exe -d {sourcepath}
In my case {sourcepath} = "E:\Libraries\Documents\My Games\OpenMW\saves\D"

"E:\Libraries\Documents" opens without issue.

Using the "Open in Terminal" context menu option doesn't produce this issue.

Expected Behavior

Terminal opens powershell

image

Actual Behavior

Terminal doesn't open powershell

image

Originally created by @FANS4ever on GitHub (Jun 21, 2022). ### Windows Terminal version 1.14.1451.0 ### Windows build number 10.0.19044.0 ### Other Software PowerShell 7.2.2 Command Prompt Microsoft Windows [Version 10.0.19044.1706] ### Steps to reproduce The issue occurs when using the "-d" flag wt.exe -d {sourcepath} In my case {sourcepath} = "E:\Libraries\Documents\My Games\OpenMW\saves\D" "E:\Libraries\Documents" opens without issue. Using the "Open in Terminal" context menu option doesn't produce this issue. ### Expected Behavior Terminal opens powershell ![image](https://user-images.githubusercontent.com/28804715/174900274-4e5464f1-18ae-4efb-9219-3c2f820a9606.png) ### Actual Behavior Terminal doesn't open powershell ![image](https://user-images.githubusercontent.com/28804715/174900308-7db4afe1-f5c7-40a2-8259-0300d4f9be92.png)
claunia added the Needs-TriageIssue-BugNeeds-Tag-FixNeeds-Attention labels 2026-01-31 05:52:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17769