I use P to automatically search for a certain program and run it. But if there are multiple programs with the same name on one drive, it can only run one. If I want all programs with the same name to be run once, how should I modify it..
Here is my P.
for %%a in (c d) do (for /f "tokens=*" %%i in ('dir /s /a-d /b %%a:\r.exe') do (start "" "%%i" ))
Here is my P.
for %%a in (c d) do (for /f "tokens=*" %%i in ('dir /s /a-d /b %%a:\r.exe') do (start "" "%%i" ))
