在另一个批处理文件完成后执行批处理文件 [英] Execute batch file after another batch file completes
本文介绍了在另一个批处理文件完成后执行批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:
如何调用另一个批处理文件
我有一个批处理文件协调两个其他批处理文件的活动。如何使它只在第一个bat文件完成执行后执行第二个批处理文件(顺序执行)。我不在乎第一个批处理文件是否成功执行。
I have a batch file coordinating the activity of two other batch file. How can I make it execute the second batch file only after the first bat file finishes execution (execute the sequentially). I do not care if the first batch file executes successfully or not.
推荐答案
使用调用以继续执行第一个文件,例如:
Use call to continue the execution of the first file, like:
echo batch controller
call batch1.bat
call batch2.bat
echo batch controller running again
这篇关于在另一个批处理文件完成后执行批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文