我的批处理文件(.bat)有问题。它有以下几行:
start /d "\\Pcaldatp01\myroute" App1.exe
start /d "\\Pcaldatp01\myroute" App2.exe
start /d "\\Pcaldatp01\myroute" App3.exe
start /d "\\Pcaldatp01\myroute" App1.xlsm
但是所有这些都在同一时间执行,我希望每个应用程序在前一个应用程序结束后按顺序执行 怎么做?
答案 0 :(得分:1)
start "" /wait /d "\\Pcaldatp01\myroute" App1.exe
start "" /wait /d "\\Pcaldatp01\myroute" App2.exe
start "" /wait /d "\\Pcaldatp01\myroute" App3.exe
start "" /wait /d "\\Pcaldatp01\myroute" App1.xlsm