bat几种循环
例1 goto
@echo off
:a
echo %date%;%time%
cls
goto :a例2 %0
@echo off
echo %date%;%time%
cls
%0【例3 call】
@echo off
set test=:4
:4
cls
echo %date%;%time%
call %test%
呵呵 不行例3 FOR
zzzevazzz@echo off
for /L %%i in (0,0,0) do time /t & cls
例4 >
mix0@echo off
echo %date%;%time%
echo 1.bat>2.bat
2.bat例1 goto
@echo off
:a
echo %date%;%time%
cls
goto :a例2 %0
@echo off
echo %date%;%time%
cls
%0【例3 call】
@echo off
set test=:4
:4
cls
echo %date%;%time%
call %test%
呵呵 不行例3 FOR
zzzevazzz@echo off
for /L %%i in (0,0,0) do time /t & cls
例4 >
mix0@echo off
echo %date%;%time%
echo 1.bat>2.bat
2.bat
补充:综合编程 , 安全编程 ,