I have this batch command
@echo off
FOR %%i in (C:\input\*.*) DO (
echo processing %%i
if not exist "C:\output\%%i" process.exe "%%i" -out "C:\output\%%i"
)
echo ---- finished ----
pause
Here my tool process.exe
processes in a loop all files within a directory - if a result doesn't already exist.
Now my CPU is fast enough to run this process.exe
on 2 or 3 files at the same time which would make the processing of the files much faster.
Question: How do I have to change the command to make my batch file processing 2-3 files at the same time?