microsoft / microsoft/PowerToys
CmdPal: no longer runs commands on %PATH%?
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
Microsoft PowerToys version
0.100.2
Installation method
GitHub
Area(s) with issue?
Command Palette
Steps to reproduce
I have a .cmd file that starts a bunch of processes, I run it daily. It sits in my %PATH%. Before 0.100 I was able to hit the keyboard shortcut that opened command palette, type "> filename" (without quotes) and it would start the batch/cmd file. Now nothing happens, whether I refer to it as "> filename", "> filename.cmd", "filename", or "filename.cmd". I can still run it from start > run, cmd.exe, or windows terminal.
Something is broken. You can't use CmdPal like you'd use the start > run box anymore.
Some .Net info from this machine:
C:\Users%USERNAME%>dotnet --list-sdks
10.0.201 [C:\Program Files\dotnet\sdk]
C:\Users%USERNAME%>dotnet --list-runtimes
Microsoft.AspNetCore.App 7.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
✔️ Expected Behavior
my batch file to run when i type its name into command pallette and hit ENTER
❌ Actual Behavior
my batch file does not run when i type its name into command pallette and hit ENTER
Upload Bug Report ZIP-file
PowerToysReport_2026-07-08-13-36-34.zip
Additional Information
Windows 11 Pro
.NET info pasted above
Language=en
User installation
NOT running as admin
Other Software
cmd.exe, Version 10.0.26200.8117
Windows Terminal, Version 1.24.11321.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Command Palette command-execution path and reproduce the report with a .cmd file placed on %PATH%. Compare handling of the filename, filename.cmd, and the > filename form with the expected Start > Run behavior. Done means a batch file on %PATH% launches when its name is entered and confirmed in Command Palette.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100