Workspaces CLI options don't expand environment variables #36662
Labels
Issue-Bug
Something isn't working
Needs-Triage
For issues raised to be triaged and prioritized by internal Microsoft teams
Product-Workspaces
Refers to the Workspaces utility
Microsoft PowerToys version
0.87.1
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Workspaces
Steps to reproduce
%windir%
or any other environment variable.✔️ Expected Behavior
It is expected to open explorer to the folder the environment variable leads to.
❌ Actual Behavior
Explorer opens to default folder.
If the environment variable is replaced with the full path
C:\windows
it does open to the correct path.Using power shell style
$env:windir
also does not work.Other Software
Windows 10 Pro 22H2
The text was updated successfully, but these errors were encountered: