是这样的, 我想用批处理读取文本文件里的名称然后执行,该如何去写!请教各位高手.
例如文本内容如下,里面的内容随时改变(CAL.TXT)
name.exe
TEL.exe
Home.exe
CAL.exe
DAY.txt
UDY.doc
SIZE.EXE
例如文本内容如下,里面的内容随时改变(CAL.TXT)
name.exe
TEL.exe
Home.exe
CAL.exe
DAY.txt
UDY.doc
SIZE.EXE
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
Originally posted by tmkai at 2008-6-27 00:03:
如果楼主里面放上N多不同型的程式,要执行应该还会根据不同的类型去调用不同的程式的吧。如果全是EXE 貌似start /wait <cal.TXT就可以吧!
向各位大侠请教
Originally posted by tmkai at 2008-6-27 00:03:
如果楼主里面放上N多不同型的程式,要执行应该还会根据不同的类型去调用不同的程式的吧。如果全是EXE 貌似start /wait <cal.TXT就可以吧!
向各位大侠请教
Starts a separate window to run a specified program or command.
START
"title" Title to display in window title bar.
path Starting directory
B Start application without creating a new window. The
application has ^C handling ignored. Unless the application
enables ^C processing, ^Break is the only way to interrupt
the application
I The new environment will be the original environment passed
to the cmd.exe and not the current environment.
MIN Start window minimized
MAX Start window maximized
SEPARATE Start 16-bit Windows program in separate memory space
SHARED Start 16-bit Windows program in shared memory space
LOW Start application in the IDLE priority class
NORMAL Start application in the NORMAL priority class
HIGH Start application in the HIGH priority class
REALTIME Start application in the REALTIME priority class
ABOVENORMAL Start application in the ABOVENORMAL priority class
BELOWNORMAL Start application in the BELOWNORMAL priority class
WAIT Start application and wait for it to terminate