- 帖子
- 5
- 积分
- 183
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2009-1-23
|
@echo off
title 捷佳科技CEO QQ:264841093
:: 模拟进度,有剩余时间、已完成进度、进度条的显示
:: code by bg 2006-10-8 [email=CMD@XP]CMD@XP[/email]
color 1f
title.
mode con lines=10
rem 进度条 ▉▉▉▉▉
set work=0
set n=0
set mo=0
set number=0
rem all是总数
set all=10
set time=%all%
:show
:check
if %number% GTR %mo% set num=%num%▉&set /a mo=%mo%+1&goto check
:2
cls
echo 进度: %n% / %all% ★游戏菜单正在优化请稍等★ 剩余时间:%time%秒
echo.
echo.
echo 完成 %work% %%%
echo.
if not "%num%"=="" echo %num%
if not "%num%"=="" echo %num%
if %work%==100 goto end
ping 127.1 -n 2 >nul
set /a n=%n%+1
set /a time=%all%-%n%
set /a work=(%n%)*100/(%all%)
set /a number=%work%/3
set /a number=%number%+1
goto show
endlocal
:end
@echo off
start C:\Progra~1\tools\xsdy\原调用.exe
exit |
|