我如何获得Windows批处理文件,同时可执行文件运行时暂停? [英] How do I get a windows batch file to pause while an executable runs?

查看:148
本文介绍了我如何获得Windows批处理文件,同时可执行文件运行时暂停?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写一个批处理文件,在我称之为一个EXE执行。现在,调用EXE之后的语句不应该执行到EXE执行完毕。我怎样才能做到这一点在批处理文件(在Windows上)?


解决方案

  START / WAIT First.exe
START / WAIT Second.exe

I am writing a batch file, in which I call an EXE to execute. Now, statements after the call to the EXE should not execute till the EXE completes its execution. How can I do it in the batch file (on Windows)?

解决方案

START /WAIT First.exe
START /WAIT Second.exe

这篇关于我如何获得Windows批处理文件,同时可执行文件运行时暂停?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆