:1
set/p choice=A,B:
if /i %choice% equ a (goto 2) else goto 3
echo ERROR&goto 1
:2
set/p gateway=1,2:
if %gateway% equ 1 (start "" iexplore.exe http:\\
www.sina.com) else start "" iexplore.exe http:\\
www.sohu.com
echo ERROR&goto 2
goto 1
:3
set/p s=1,2:
if %s% equ 1 (start "" iexplore.exe http:\\
www.baidu.com) else (start "" iexplore.exe http:\\
www.google.com)
echo ERROR&goto 3
goto 1
[
Last edited by pusofalse on 2008-5-11 at 03:33 AM ]