microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.7k stars 6.46k forks source link

Workspaces - App cmd arguments not working with space in path #34582

Open koubafire opened 2 weeks ago

koubafire commented 2 weeks ago

Microsoft PowerToys version

0.84

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Workspaces

Steps to reproduce

Open excel with file SMS.xlsx with path C:\Users\KOUBA Trans\Desktop\SMS.xlsx

Tried with "C:\Users\KOUBA Trans\Desktop\SMS.xlsx"

C:\Users\KOUBA\\Trans\Desktop\SMS.xlsx

C:\Users\KOUBAT~1\Desktop\SMS.xlsx

this not working

✔️ Expected Behavior

Open excel on SMS.xlsx file

❌ Actual Behavior

File not found

Other Software

No response

koubafire commented 2 weeks ago

new info : maybe the problem is NON-ENGLISH characters in the name of Workspace

twesemey commented 1 week ago

In my cmd scripts i use quotation marks only around the path part with the space. Maybe thats the solution here.

Example:

START C:\"Program Files (x86)"\Steam\Steam.exe START F:\"Riot Games"\"Riot Client"\RiotClientServices.exe --launch-product=league_of_legends --launch-patchline=live

In your case i would try this C:\Users\"KOUBA Trans"\Desktop\SMS.xlsx

koubafire commented 1 week ago

image I am talking about Powertoys workspaces not cmd itself.

plante-msft commented 1 week ago

This is working for me on Win11, PowerToys v0.84.1 when I surround the entire path in quotation marks.

Image

Try updating to 0.84.1 and let us know if it persists (and what Windows OS version you are on).

/needinfo

microsoft-github-policy-service[bot] commented 4 days ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.