BAT 批处理备忘 2014/11/26 15819 @ECHO OFF :RETRY SET /P PASSWD=(TEST: 1, FLASH: 2, EXIT: 0) IF /I "%PASSWD%"=="0" GOTO EXIT IF /I "%PASSWD%"=="1" GOTO TEST IF /I "%PASSWD%"=="2" GOTO FLASH GOTO RETRY :TEST ECHO TEST002 GOTO EXIT :FLASH ECHO FLASH2 GOTO EXIT :EXIT PAUSE