Waiting for parallel batch scripts

前端 未结 4 1710
盖世英雄少女心
盖世英雄少女心 2020-11-28 12:09

I have 4 batch files. I want to run one.bat and two.bat at once, concurrently. After completion of these two batch files, three.bat an

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 12:58

    Just adding another way, maybe the shortest.

    (one.cmd | two.cmd) && (three.cmd | four.cmd)
    

    Concept is really straight forward. Start one and 2 in paralel, once done and errorlevel is 0 run three and four.

提交回复
热议问题