中国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-13 00:06
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Batch file
Printable Version  900 / 2
Floor1 Borus Posted 2003-09-26 00:00
初级用户 Posts 2 Credits 109
Can you break out of a for loop in a bat file??
That is, when a certain condition is met, can it stop looping any further???
Like break.
Floor2 Borus Posted 2003-09-26 00:00
初级用户 Posts 2 Credits 109
Nobody's paying attention to me... sigh~~~~~~~~~~
Floor3 dos时代菜鸟 Posted 2003-09-27 00:00
初级用户 Posts 216 Credits 672
I don't know what your for loop condition is,
but I think if you want to implement loop nesting for programming functions, it's still better to use goto
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023