windows – 启动应用程序后将控制权返回给cmd.exe

用例如下:

>启动firefox
>执行cmd.exe中的命令

我需要将它包装在批处理脚本中.但是当我从cmd.exe启动firefox时,cmd.exe已经丢失了控件,只有在关闭firefox后才会返回控件.但我需要在firefox打开的情况下执行一些操作(第2步).启动firefox后,如何将控制权返回给cmd.exe.我知道在linux中你可以简单地使用“&”在命令之后这样做,但我不知道windows中的任何此类功能.

解决方法

我想你可以在批处理文件解决这个问题

start c:\firefoxFolder\firefox.exe
// issue other commands

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...