Feature Request: Support Environment Variable Expansion On PowerToy Run #3251
Labels
Idea-Enhancement
New feature or request on an existing product
Product-PowerToys Run
Improved app launch PT Run (Win+R) Window
Resolution-Fix Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
Summary of the new feature/enhancement
Traditional Windows Run dialog (also search feature in the start menu) supports auto-completion with the environment variables. (For example, traditional run dialog understands the meaning of %windir%.) I think this is essential to replace those two features.
Proposed technical implementation details (optional)
Case 1. For example, when I type "%windir%" in the text box, auto-suggestion automatically populates the open folder action.
Case 2. When I type "%comspec%" in the text box, auto-suggestion understands that this environment variable points out to a command-line interpreter, and user can open the app.
Case 3. When I type "%comspec% /k echo Hello, World!", auto-suggestion understands that this environment variable points out to command-line interpreter, and the user can open the app. Plus, the following parameter should propagate to the app and the console displays the message "Hello, World!" on the screen.
Case 4. This is not an environment variable case, but it requires for the Windows Terminal scenario. When I type the "wt" alias in the traditional interfaces, it launches successfully the new Windows Terminal app. Also, "wt %comspec%" will run the default command-line interpreter inside the Windows Terminal.
The text was updated successfully, but these errors were encountered: