| @echo off&mode con cols=41 lines=5 | | title 动画 | | set a=★&set b=☆&set c=0123456789abcdef | | echo. | | echo edit by hdw 2009-8-5 | | echo. | | :begin | | set /a n=%random%%%20+1,m=40-2*n,x=%random%%%16 | | call,color 0%%c:~%x%,1%% | | for /l %%i in (1,1,20) do set /p=%b%<nul&ping>nul | | for /l %%i in (1,1,20) do set /p=<nul | | for /l %%i in (1,1,8) do set /p= <nul&ping>nul | | for /l %%i in (1,1,12) do set /p=%a%<nul&ping>nul | | for /l %%i in (1,1,20) do set /p=<nul | | goto begin | | ::加“&ping>null”起到了延时的作用 | | ::★占两个退格符位或空格位 | | ::一个退格符加一个空格符可以把光标前一个字符删除COPY |
|