Parallel execution of shell processes

前端 未结 6 673
没有蜡笔的小新
没有蜡笔的小新 2020-11-22 16:35

Is there a tool available to execute several process in parallel in a Windows batch file? I have found some interesting tools for Linux (parallel and PPSS), however, I would

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 16:57

    Try start:

    start "title of the process" "P:\ath\to.exe"
    

    It opens a new window with the given title and executes the BAT, CMD or EXE file. You can also set the priority, set the same environment etc.

    Files being not executeable are opened with the associated program.

    Further reading: Start -> Run

    cmd /k start /?
    

    Start is available at least since WinME.

    Good luck!

提交回复
热议问题