:set
set /p select=请输入你的选择。(1.yes 2.no)
if "%select%"=="1" goto 1
if "%select%"=="2" goto 2
echo 请正确选择。&ping /n 2 127.1>nul&goto set
:1
........................................................................
:2
........................................................................
对不起,刚才打错了一个符号&,把&打成%了。
Last edited by zw19750516 on 2008-4-5 at 01:04 AM ]