Image 在CMD中异步运行任务

Image 在CMD中异步运行任务,image,batch-file,asynchronous,cmd,parallel-processing,Image,Batch File,Asynchronous,Cmd,Parallel Processing,我正在修改我公司用于成像pc的脚本。我注意到,在我们当前的脚本中,任务的启动方式如下所示: @echo off firststep.bat secondstep.bat thirdstep.bat 运行时,我注意到任务一个接一个地发生。我的想法是尽可能异步运行。我查阅了几个CMD异步进程运行的示例,发现了两种异步运行进程的方法。详情如下: @echo off REM First Example start firststep.bat start secondstep.bat start thi

我正在修改我公司用于成像pc的脚本。我注意到,在我们当前的脚本中,任务的启动方式如下所示:

@echo off
firststep.bat
secondstep.bat
thirdstep.bat
运行时,我注意到任务一个接一个地发生。我的想法是尽可能异步运行。我查阅了几个CMD异步进程运行的示例,发现了两种异步运行进程的方法。详情如下:

@echo off
REM First Example
start firststep.bat
start secondstep.bat
start thirdstep.bat
以及:

我已经读到/b表示您希望运行二进制进程,但我不完全理解start/b和start之间的区别。在这种情况下,哪一个更适合使用?这两种方法中的哪一种能有效地实现我加快成像过程的目标,还是我应该使用不同的方法


提前感谢您提供的所有帮助。

/b在同一窗口中运行程序,如果没有它,每个进程将在另一个窗口中运行,该窗口在退出时关闭。

您有/b错误。。。
@echo off
REM Second Example
start /b firststep.bat
start /b secondstep.bat
start /b thirdstep.bat