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-07-29 10:10
中国DOS联盟论坛 » 论坛回收站 » How to write this bat? View 2,008 Replies 3
Original Poster Posted 2009-07-04 12:32 ·  中国 广东 潮州 联通
初级用户
Credits 35
Posts 12
Joined 2009-02-10 04:40
17-year member
UID 138461
Gender Male
Status Offline
I wrote 4 commands and saved them as aa.bat:
c:\>cd ucdos
c:\ucdos>ucdos
c:\ucdos>cd\
c:\>cd cadwind

But when executing aa.bat under DOS, the first 2 commands can be executed, but the last 2 are not executed and it stops at c:\ucdos> (entered ucdos).
I suspect that running ucdos.bat itself takes time. How can I execute the last 2 commands? Thanks first
Floor 2 Posted 2009-07-04 13:12 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
Floor 3 Posted 2009-07-13 07:14 ·  中国 四川 南充 营山县 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Floor 4 Posted 2009-07-13 23:59 ·  美国 华盛顿州 金 雷德蒙德 Microsoft
初级用户
Credits 44
Posts 36
Joined 2009-03-17 11:36
17-year member
UID 141561
Gender Male
Status Offline
There is a problem with the setting of your script path
Forum Jump: