中国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-08-15 18:53
47,813 topics / 349,903 posts / today 1 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » Question about using call in a batch file
Printable Version  998 / 0
Floor1 hodry Posted 2003-05-05 00:00
初级用户 Posts 5 Credits 148
Help me:

When switching from one batch file to another, for example:

*********file1.bat*********
call file2.bat
echo display file1
file2.bat
echo display file1 again

*********file2.bat*********
echo display file2
...
...
...

After executing file1.bat, it should display:
display file2
display file1
display file2

Right?



But why does it instead become this (during system startup):
display file2
display file1
display file2
display file1
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023