I need to process some audio files. Each file must go through multiple sequential steps, for which I've written a batch file. But I want all the files in the folder to be processed in parallel, for speed. So I've written another batch file which calls the first, in a loop. But when I do that, I end up with multiple command windows, which stay open even when the batch file has closed.
In order of preference, how can I either (a) not have the windows open at all, or (b) have the windows minimised then close when finished; or (c) have the windows open then close when finished.
for %%I in (*.mp3) DO (
start convert-mp3-to-m4b.bat "%%I"
)
I've managed to achieve (c), with start cmd /c convert-mp3-to-m4b.bat "%%I" /B
, but that was more by luck than judgement.