Opening a folder from ctx menu which has ";" in it's file name fails to open #15269

Closed
opened 2026-01-31 04:33:18 +00:00 by claunia · 5 comments
Owner

Originally created by @char-ptr on GitHub (Sep 19, 2021).

Windows Terminal version (or Windows build number)

Windows Terminal 1.10.2383.0; Microsoft Windows 10.0.19043

Other Software

No response

Steps to reproduce

  1. Have a folder which contains ";" in it's name
  2. Right click the folder and click "Open in Windows Terminal"

Expected Behavior

Windows Terminal to open at the specified directory

Actual Behavior

Two tabs open saying

tab1
[error 0x8007010b when launching `cmd.exe']
Could not access starting directory "<directory up to ;>"

tab2
[error 0x80070002 when launching `<after;>\.']

this happens regardless if im using powershell or cmd as default start up.

Originally created by @char-ptr on GitHub (Sep 19, 2021). ### Windows Terminal version (or Windows build number) Windows Terminal 1.10.2383.0; Microsoft Windows 10.0.19043 ### Other Software _No response_ ### Steps to reproduce 1. Have a folder which contains ";" in it's name 2. Right click the folder and click "Open in Windows Terminal" ### Expected Behavior Windows Terminal to open at the specified directory ### Actual Behavior Two tabs open saying ``` tab1 [error 0x8007010b when launching `cmd.exe'] Could not access starting directory "<directory up to ;>" tab2 [error 0x80070002 when launching `<after;>\.'] ``` this happens regardless if im using powershell or cmd as default start up.
Author
Owner

@elsaco commented on GitHub (Sep 19, 2021):

@pozm semicolon is part of "Word delimiters" defined in the "Interaction" settings:

"wordDelimiters": " /\\()\"'-.,:;<>~!@#$%^&*|+=[]{}~?\u2502",

@elsaco commented on GitHub (Sep 19, 2021): @pozm semicolon is part of "Word delimiters" defined in the "Interaction" settings: ` "wordDelimiters": " /\\()\"'-.,:;<>~!@#$%^&*|+=[]{}~?\u2502",`
Author
Owner

@char-ptr commented on GitHub (Sep 19, 2021):

@pozm semicolon is part of "Word delimiters" defined in the "Interaction" settings:

"wordDelimiters": " /\\()\"'-.,:;<>~!@#$%^&*|+=[]{}~?\u2502",

Even after removing it from there, the same issue still persists.

@char-ptr commented on GitHub (Sep 19, 2021): > > > @pozm semicolon is part of "Word delimiters" defined in the "Interaction" settings: > > ` "wordDelimiters": " /\\()\"'-.,:;<>~!@#$%^&*|+=[]{}~?\u2502",` Even after removing it from there, the same issue still persists.
Author
Owner

@elsaco commented on GitHub (Sep 19, 2021):

@pozm for fun try the other way around, drop the folder name over the "+" tab. After creating a "C:\temp\wt;test" folder this is the result with drag-and-drop:

wt_semicolon_in_folder_name

@elsaco commented on GitHub (Sep 19, 2021): @pozm for fun try the other way around, drop the folder name over the "+" tab. After creating a "C:\temp\wt;test" folder this is the result with drag-and-drop: ![wt_semicolon_in_folder_name](https://user-images.githubusercontent.com/3933920/133943130-a75aca2e-cd90-4106-bb67-6ac086e88d5c.png)
Author
Owner

@zadjii-msft commented on GitHub (Sep 20, 2021):

I'm not quite sure what @‍elasco is on about here. This looks like a legit bug, we're not escaping semicolons in the shell extension. Good catch!

@zadjii-msft commented on GitHub (Sep 20, 2021): I'm not quite sure what **@&zwj;elasco** is on about here. This looks like a legit bug, we're not escaping semicolons in the shell extension. Good catch!
Author
Owner

@ghost commented on GitHub (Oct 20, 2021):

:tada:This issue was addressed in #11314, which has now been successfully released as Windows Terminal Preview v1.12.2922.0.🎉

Handy links:

@ghost commented on GitHub (Oct 20, 2021): :tada:This issue was addressed in #11314, which has now been successfully released as `Windows Terminal Preview v1.12.2922.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.12.2922.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15269