Search found 2 matches
- 10 Oct 2021 02:59
- Forum: DOS Batch Forum
- Topic: Output the results of two commands in parallel
- Replies: 4
- Views: 6536
Re: Output the results of two commands in parallel
Yes, I know, I mean their output can be side by side and there is no need for temporary files or setting variables
- 09 Oct 2021 16:15
- Forum: DOS Batch Forum
- Topic: Output the results of two commands in parallel
- Replies: 4
- Views: 6536
Output the results of two commands in parallel
I hope this trick can help anyone 1.bat @echo off for /l %%a in (1,1,10) do echo=%%a 2.bat @echo off for /l %%a in (1,1,15) do echo=%%a Parallel.bat @echo off (for /f "delims=" %%a in ('1') do @echo=%%a&ping 127.1 -n 1 >nul)|cmd /v /c "(for /f "delims=" %%b in ('2') do @(set/pa=&&echo=!a! %%b||echo=...