Shell context menu needs to escape semicolons in the path #16957

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

Originally created by @zadjii-msft on GitHub (Mar 9, 2022).

From an internal thread:

Repro is very simple, create a folder named “Open_me_in_Windows_Terminal;calc.exe;”, copy “calc.exe” inside the folder and then, from within the folder, Right Click -> Open in Windows Terminal. You should see calc starting.

It even works without the exe ext, you can rename to folder foo;calc and rename calc.exe to only calc. Works with any name

There's a mail thread about this.

Originally created by @zadjii-msft on GitHub (Mar 9, 2022). From an internal thread: > Repro is very simple, create a folder named “Open_me_in_Windows_Terminal;calc.exe;”, copy “calc.exe” inside the folder and then, from within the folder, Right Click -> Open in Windows Terminal. You should see calc starting. > It even works without the exe ext, you can rename to folder `foo;calc` and rename calc.exe to only calc. Works with any name There's a mail thread about this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16957