Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspaces CLI options don't expand environment variables #36662

Open
ABillBlakely opened this issue Dec 31, 2024 · 0 comments
Open

Workspaces CLI options don't expand environment variables #36662

ABillBlakely opened this issue Dec 31, 2024 · 0 comments
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

Comments

@ABillBlakely
Copy link

Microsoft PowerToys version

0.87.1

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

Workspaces

Steps to reproduce

  1. Save a workspaces layout with explorer
  2. Edit CLI options to add %windir% or any other environment variable.
  3. Launch workspace.

✔️ 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

@ABillBlakely ABillBlakely added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Dec 31, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Product-Workspaces Refers to the Workspaces utility label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant