中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-13 23:08
47,812 topics / 349,916 posts / today 0 new / 48,268 members
论坛回收站 » How to write this bat?
Printable Version  2,128 / 3
Floor1 imur02 Posted 2009-07-04 12:32
初级用户 Posts 12 Credits 35
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
Floor2 slore Posted 2009-07-04 13:12
铂金会员 Posts 2,478 Credits 5,212
Floor3 不得不爱 Posted 2009-07-13 07:14
超级版主 Posts 2,044 Credits 5,310 From 四川南充
c:\>cd ucdos
c:\ucdos>call ucdos
c:\ucdos>cd\
c:\>cd cadwind
Floor4 fujiang1000 Posted 2009-07-13 23:59
初级用户 Posts 36 Credits 44
There is a problem with the setting of your script path
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023