我也来一个,以前写的:- @echo off&mode con cols=41 lines=5
- title 权当打发无聊的小动画
- set a=★&set b=☆&set c=0123456789abcdef
- echo.&echo.
- :begin
- set /a n=%random%%%20+1,m=40-2*n,x=%random%%%16
- call,color 1%%c:~%x%,1%%
- for /l %%i in (1,1,20) do set /p=%b%<nul&ping /n 127.1>nul
- for /l %%i in (1,1,100) do set /p=<nul
- for /l %%i in (1,1,%m%) do set /p= <nul&ping /n 127.1>nul
- for /l %%i in (1,1,%n%) do set /p=%a%<nul&ping /n 127.1>nul
- for /l %%i in (1,1,100) do set /p=<nul
- goto begin
复制代码
|