rat兄真够牛,比我的精简好多...- @echo off
- set t=10
- set n=happy birthday,bathome
- :main
- choice /c 1abcdefghijklmnopqrstuvwxyz /d 1 /t 1 /n>nul
- if %errorlevel% gtr 1 (cls&echo %n%&pause&exit /b)
- if "%t%" equ "0" (cls&echo %n%&pause) else (set/a t-=1&call echo %t%&goto :main
- )
复制代码
看来我真的是想太多了...
[ 本帖最后由 qq641255849 于 2008-10-24 20:23 编辑 ] |