Wait for multiple applications run asynchronously from batch file to finish

后端 未结 6 1439
再見小時候
再見小時候 2020-12-13 21:15

There is a simple Windows batch file that runs multiple instances of application:

start app.exe param1
start app.exe param2

Is there a way

6条回答
  •  失恋的感觉
    2020-12-13 22:10

    In a separate batch file asynchBatch.bat put:

    start app.exe param1
    start app.exe param2
    

    Then in caller batch file write:

    call asynchBatch.bat
    other executions
    ...
    

    The other executions will start only after both app.exe param1 and app.exe param2 finish.

提交回复
热议问题