Open with WT fails to open folders with semicolon in name - slight variation of #11273 #15469

Open
opened 2026-01-31 04:39:32 +00:00 by claunia · 0 comments
Owner

Originally created by @elsaco on GitHub (Oct 7, 2021).

Windows Terminal version (or Windows build number)

Windows Terminal Preview version 1.11.2731.0

Other Software

Windows version 10.0.19043.0

Steps to reproduce

  1. select a folder with semicolon in name
  2. open with "Open in Windows Terminal" action

Expected Behavior

no errors

Actual Behavior

error 0x80070002, same as #11273 , fixed in 9708a751

This is the directory structure used for testing:

PS C:\tmp> tree
Folder PATH listing for volume Windows
Volume serial number is A2A2-41FB
C:.
├───wt
└───wt;test

When right-clicking on "C:\tmp\wt;test" the first tab opens "C:\tmp\wt":

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\tmp\wt>

and 2nd tab shows: [error 0x80070002 when launching `test.']

If "C:\tmp\wt" is renamed/remove the first tab shows:

[error 0x8007010b when launching `powershell.exe']
Could not access starting directory "C:\tmp\wt"

and the 2nd tab: [error 0x80070002 when launching `test.']

Originally created by @elsaco on GitHub (Oct 7, 2021). ### Windows Terminal version (or Windows build number) Windows Terminal Preview version 1.11.2731.0 ### Other Software Windows version 10.0.19043.0 ### Steps to reproduce 1. select a folder with semicolon in name 2. open with "Open in Windows Terminal" action ### Expected Behavior no errors ### Actual Behavior error 0x80070002, same as #11273 , fixed in 9708a751 This is the directory structure used for testing: ``` PS C:\tmp> tree Folder PATH listing for volume Windows Volume serial number is A2A2-41FB C:. ├───wt └───wt;test ``` When right-clicking on "C:\tmp\wt;test" the first tab opens "C:\tmp\wt": ``` Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\tmp\wt> ``` and 2nd tab shows: [error 0x80070002 when launching `test\.'] If "C:\tmp\wt" is renamed/remove the first tab shows: ``` [error 0x8007010b when launching `powershell.exe'] Could not access starting directory "C:\tmp\wt" ``` and the 2nd tab: [error 0x80070002 when launching `test\.']
claunia added the Resolution-Duplicate label 2026-01-31 04:39:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15469