运行Windows批处理文件异步命令 [英] Running windows batch file commands asynchronously

查看:116
本文介绍了运行Windows批处理文件异步命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我说,如果我有


  • foo.exe的

  • bar.exe

  • baz.exe

我如何运行所有的人都从一个批处理文件异步,即无需等待previous程序停止?

How do I run all of them from a batch file asynchronously, i.e. without waiting for the previous program to stop?

推荐答案

使用开始命令来运行每个程序应该得到你所需要的。

Using START command to run each program should get you what you need.

每个开始调用运行在它的参数指定的命令,除非使用 / WAIT 交换机上执行立即返回,

Every START invocation runs the command given in its parameter and returns immediately, unless executed with a /WAIT switch.

这适用于命令行应用程序。不带命令行应用的回报立即无论如何,所以可以肯定的,如果你想将所有异步运行,使用开始

That applies to command-line apps. Apps without command line return immediately anyway, so to be sure, if you want to run all asynchronously, use START.

这篇关于运行Windows批处理文件异步命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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