Search found 2 matches

by Blitz
2023-Aug-24, 8:49 am
Forum: Windows CMD Shell
Topic: [share] Batch local multi-process communication and LAN communication, no third party, no temporary files
Replies: 0
Views: 14451

[share] Batch local multi-process communication and LAN communication, no third party, no temporary files

There are still many shortcomings. If both parties send content at the same time, there will be bugs. When writing, it is written on one computer, so the reading part of the two computers will also shift with the writing part. Cannot delete the previous line, case is not handled send.bat @echo off f...
by Blitz
2021-Oct-09, 10:15 pm
Forum: Windows CMD Shell
Topic: Output the results of two commands in parallel
Replies: 1
Views: 4085

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 @...