欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

批处理倒计时(全屏)

程序员文章站 2022-07-04 17:30:08
复制代码 代码如下:@echo off echo exit|%comspec% /k prompt e 100 b4 00 b0 12 cd 10 b0 03 cd 10...
复制代码 代码如下:

@echo off
echo exit|%comspec% /k prompt e 100 b4 00 b0 12 cd 10 b0 03 cd 10 cd 20 $_g$_q$_|debug>nul

chcp 437>nul
graftabl 936>nul

set all=20
:start
if "%all%"=="0" goto end
cls
set /a all=%all%-1
echo.
echo.
echo.
echo.
echo %all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%
echo %all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%
echo %all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%
echo %all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%
echo %all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%
echo %all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%%all%
echo wscript.sleep 500>>ri.vbs &call ri.vbs &del ri.vbs
goto start
:end
cls
echo the end
pause