Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
特別な場合にbatch1スクリプトからbatch2スクリプトを呼び出したいのですが、親batch1スクリプトがbatch2の完了を待つのを待ちたくありません。バッチ 2 が並列で実行されている間に、バッチ 1 を次のコマンドに移動します。
NTシェルコマンドSTARTは、バッチファイルを独自のウィンドウに渡して実行し、すぐに次の行に進みます。
start 1.bat start 2.bat
開始コマンドは、別のウィンドウで 2 番目のバッチ ファイルを開始し、両方が並行して実行されます
@echo off ::This is the second batch file that runs in parallel with this file start batch_file.bat