Multithreaded Windows FOR batch command
Fresh3 days ago
Mar 15, 202625573 viewsConfidence Score0%
0%
Problem
do you know if there is a simple way to run FOR command in batch file on multiple threads? What's the point of having 4 cores if I can't run my tasks in 4 parallel threads? For example, if I am optimizing PNGs with PNGOUT, the command I would use is But this is highly paralellizable task in which t…
Error Output
for %i in (*.png) do pngout "%i"
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Multithreaded Windows FOR batch command
Low Risk
I have written a batch file that executes only a maximum number of commands a while ago on Stack Overflow: Parallel execution of shell processes: It spawns a maximum of four new processes that execute in parallel and minimized. Wait time needs to be…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix