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-13 16:55
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Is there a DOS command that can run several commands simultaneously? View 2,171 Replies 9
Original Poster Posted 2006-08-15 11:56 ·  中国 上海 东方有线
中级用户
★★
Credits 218
Posts 86
Joined 2006-08-10 10:45
20-year member
UID 60205
Gender Male
Status Offline
Is there a DOS command that can make several commands run simultaneously instead of in sequence?
Floor 2 Posted 2006-08-15 17:09 ·  中国 上海 黄浦区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
DOS itself is a single-tasking operating system and cannot run several commands simultaneously.
Floor 3 Posted 2006-08-15 21:09 ·  中国 河南 洛阳 联通
新手上路
Credits 10
Posts 5
Joined 2006-08-09 16:01
20-year member
UID 60157
Gender Male
From 河南
Status Offline
It's not possible under DOS, because it's not Windows!
Floor 4 Posted 2006-08-16 14:31 ·  中国 四川 成都 电信
初级用户
Credits 62
Posts 27
Joined 2006-08-02 17:41
20-year member
UID 59703
Status Offline
Unless it's a TSR program, just like the DOS - era trainer FPE. I wonder if everyone has used it.
Floor 5 Posted 2006-08-16 15:30 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
The landlord is talking about the command line under XP? At the same time? The requirements are too high, right? Actually, there are no two operations that are absolutely simultaneous.

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 6 Posted 2006-08-27 21:19 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Under Windows, you can use `at` to execute multiple programs at a specific time.
Floor 7 Posted 2006-09-03 00:49 ·  中国 浙江 温州 电信
新手上路
Credits 2
Posts 1
Joined 2006-02-27 04:15
20-year member
UID 51020
Status Offline
Using CALL can be done
Floor 8 Posted 2006-09-22 22:34 ·  中国 北京 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
DOS doesn't have multitasking ~ :)
But if you want to be lazy and type two or more commands on one line and let it execute them automatically in sequence, you can:

C:\>dir d: & dir e: dir f:


This & represents the separator for different commands. After execution, it will list the contents of drives d, e, and f in sequence ~ :)



Originally posted by vk at 2006-8-15 11:56:
Is there a DOS command that can run several commands simultaneously instead of running them in sequence?
Floor 9 Posted 2006-09-24 00:52 ·  中国 重庆 重庆壁山县 联通
中级用户
★★
Credits 235
Posts 109
Joined 2006-08-24 00:52
19-year member
UID 61161
Gender Male
Status Offline
Floor 10 Posted 2006-09-27 00:39 ·  中国 甘肃 兰州 中移铁通
初级用户
Credits 90
Posts 38
Joined 2006-01-06 18:41
20-year member
UID 48522
Status Offline
If the building owner is in the cmd environment of xp, try this
echo echo %%1>ed.bat
echo ping 127.1 >>ed.bat
echo exit >>ed.bat
type ed.bat

start ed 1111
start ed 2222
start ed 3333
start ed 4444
pause

You can see multiple simultaneously running cmd windows.
Forum Jump: