批处理实现while循环

批处理本身是没有while循环功能的。 模板代码如下:

@echo off

call :my_run

exit

:my_run

    echo ---start---

    :: xxxx

    call :my_run

goto:eof

猜你喜欢

转载自blog.csdn.net/aeaxea43/article/details/108987676