沒有執行 Windows 批次指令後面的逐步指令

問題說明:
沒有處理 Windows 批次指令後面的逐步指令。
在下列的步驟範例中,第一個批次檔後面的兩個指令都沒有執行。
C:\script1.bat
C:\script2.bat
echo "Performed both batch commands"
說明:
步驟中的所有指令必須放在要由伺服器執行的 Windows 批次檔中。如果步驟指令含有批次檔的參照,在批次檔執行後,該步驟即會結束。批次檔參照後面的步驟指令則不會執行。
解決方案:
使用 call 指令來執行步驟中的批次檔。call 指令會在步驟批次檔內執行。
call C:\script1.bat
call C:\script2.bat
echo "Performed both batch commands" 

意見