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-01 11:13
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] How can I restore the old batch file functionality under DOS? View 1,666 Replies 1
Original Poster Posted 2003-06-09 00:00 ·  中国 重庆 北碚区 电信
初级用户
Credits 110
Posts 2
Joined 2003-06-09 00:00
23-year member
UID 4537
Gender Male
Status Offline
I often need to carry out access, modification, and similar operations through a LAN (WIN98 peer-to-peer networking), but the software I use does not support directly opening target data documents on the LAN. Instead, it requires setting up a mapped connection first -> entering the authorization password for the connection -> processing the data (in the WINDOWS environment) -> closing the connection. I also wrote a batch file to handle this, but I discovered a problem: WINDOWS uses parallel processing, unlike the step-by-step execution of commands in the old DOS days. The step of closing the connection cannot be used at the same time, otherwise it becomes impossible to operate. Only at this point did I start missing the single-step, sequential processing flow of the DOS era, which still has its advantages, especially for single-flow programs where the next step can only be executed after the result of the previous step comes out. Here, I would like to ask an expert who can solve this problem for help. Many thanks!
Floor 2 Posted 2003-06-30 00:00 ·  中国 河北 唐山 联通
初级用户
Credits 132
Posts 15
Joined 2003-06-30 00:00
23-year member
UID 6155
Gender Male
Status Offline
Just add START /W before each command in the batch file.
Forum Jump: