China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 10:39
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How can I run multiple programs with a batch file? View 3,039 Replies 3
Original Poster Posted 2003-05-13 00:00 ·  中国 福建 厦门 教育网
初级用户
Credits 218
Posts 26
Joined 2003-05-10 00:00
23-year member
UID 1973
Gender Male
Status Offline
Today I wanted to write a batch file to make multiple programs start one after another.
But it turned out that each program has to wait for the previous one to end before it can be activated. Is there any way to make them coexist?
Floor 2 Posted 2003-05-13 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
This can be done through some system enhancement commands to manage multithreaded execution of programs, provided it stays within the range allowed by DOS memory. Like seal, etc...
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 3 Posted 2003-05-13 00:00 ·  中国 福建 厦门 教育网
初级用户
Credits 218
Posts 26
Joined 2003-05-10 00:00
23-year member
UID 1973
Gender Male
Status Offline
So in that case, batch processing is a bit beyond its capabilities?
Floor 4 Posted 2003-05-13 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
You could put it that way.... So-called batch processing means execution in batches... the statements in a batch file are executed one by one in sequence. Generally, when loading TSRs (memory-resident programs), they can be executed one after another... For other programs, you need to use parameters like /u or /q to exit that program before the next statement can be executed.. (Remember, it's the "next statement"—that is to say, the commands in a batch file are actually executed in sequence, although it may look like they are loaded "at the same time".)....
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Forum Jump: