Board logo

标题: [文件操作] 批处理的无法依次执行/运行/打开多个程序/软件是什么原因 [打印本页]

作者: lee_xiaoy2k    时间: 2008-10-3 14:36     标题: 批处理的无法依次执行/运行/打开多个程序/软件是什么原因

本帖最后由 pcl_test 于 2016-8-9 11:13 编辑

批处理不连续执行?
编的批处理不能将命令连续执行,要关掉一个文件才能执行第二个文件,但在dos下手动可以,为什么?
命令如下:
e:
cd\hotkey
testa
testb
testc
testa2
testb2
testc2
其中testa...是我写的有关键盘定义的一些命令是exe文件的.
作者: yslyxqysl    时间: 2008-10-3 14:44

  1. e:
  2. cd hotkey
  3. start testa.exe
  4. start testb.exe
  5. start testc.exe
  6. start testa2.exe
  7. start testb2.exe
  8. start testc2.exe
复制代码
start:启动另一个窗口运行指定的程序或命令。

[ 本帖最后由 yslyxqysl 于 2008-10-3 18:21 编辑 ]
作者: lee_xiaoy2k    时间: 2008-10-3 14:50

哈哈!!!
真的可以啊!!!
为什么我以前编的时候没有用过start这个命令?
什么时候要用start??
谢谢您!!!




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2