China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-24 14:53
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Batch processing emotional progress bar View 23,588 Replies 207
Floor 16 Posted 2006-12-04 11:58 ·  中国 广东 广州 花都区 电信
初级用户
★★
Credits 197
Posts 77
Joined 2006-09-19 14:02
19-year member
UID 63074
Gender Male
Status Offline
Great person... even this is thought of to play
Floor 17 Posted 2006-12-04 12:20 ·  中国 北京 朝阳区 联通
高级用户
★★
朦胧的世界
Credits 579
Posts 218
Joined 2006-10-24 04:29
19-year member
UID 67972
Status Offline
Directly posting code seems to lose spaces?

[ Last edited by tao0610 on 2006-12-4 at 01:11 PM ]
Recent Ratings for This Post ( 4 in total) Click for details
RaterScoreTime
redtek +3 2006-12-04 22:02
cxdgtgqqqf +1 2006-12-17 20:38
axi +2 2007-03-21 10:59
byxyk +2 2007-06-28 22:15
Attachments
批处理感情进度条.rar (533 bytes, Credits to download 1 pts, Downloads: 187)

认识自己,降伏自己,改变自己
,才能改变别人!
Floor 18 Posted 2006-12-04 14:05 ·  中国 上海 奉贤区 电信
初级用户
Credits 65
Posts 18
Joined 2006-10-01 13:03
19-year member
UID 64244
Status Offline
There are source files inside, in two formats. One is exe, and the other is bat.
Floor 19 Posted 2006-12-04 14:13 ·  中国 北京 朝阳区 联通
高级用户
★★
朦胧的世界
Credits 579
Posts 218
Joined 2006-10-24 04:29
19-year member
UID 67972
Status Offline
I simplified it for you above!

认识自己,降伏自己,改变自己
,才能改变别人!
Floor 20 Posted 2006-12-04 14:44 ·  中国 山东 济南 电信
社区乞丐
★★
此图片另存后死机
Credits -49
Posts 90
Joined 2006-12-02 13:00
19-year member
UID 72412
Gender Male
Status Offline
tao0610

It's a mental work...
Floor 21 Posted 2006-12-06 06:29 ·  中国 北京 联通数据上网公共出口
新手上路
Credits 4
Posts 2
Joined 2006-12-06 05:34
19-year member
UID 72706
Gender Male
Status Offline
tao0610

It's a mental work...
Haha
Floor 22 Posted 2006-12-06 07:17 ·  中国 浙江 温州 电信
初级用户
★★
Credits 154
Posts 67
Joined 2006-10-31 00:50
19-year member
UID 68933
Gender Male
Status Offline
Hehe..No comment here..Purely for entertainment.
Floor 23 Posted 2006-12-07 02:37 ·  中国 北京 联通
银牌会员
★★★
努力做坏人
Credits 1,185
Posts 438
Joined 2006-08-28 12:00
19-year member
UID 61449
From 北京
Status Offline
Actually, this processing will have a better effect...........
我今后在论坛的目标就是做个超级坏人!!!
Floor 24 Posted 2006-12-07 03:52 ·  中国 河南 郑州 电信
中级用户
★★
Credits 439
Posts 170
Joined 2006-01-09 20:29
20-year member
UID 48707
Status Offline
Okay, one better than the next
bat c c++
Floor 25 Posted 2006-12-07 05:48 ·  中国 福建 厦门 电信
中级用户
★★
Credits 480
Posts 197
Joined 2006-09-20 00:40
19-year member
UID 63115
From 黄冈
Status Offline
The LZ uses PING to achieve the effect of delay. Not bad.
Floor 26 Posted 2006-12-09 11:34 ·  中国 江苏 常州 溧阳市 电信
新手上路
Credits 8
Posts 4
Joined 2006-12-07 10:27
19-year member
UID 72823
Gender Male
Status Offline
Floor 27 Posted 2006-12-25 21:51 ·  中国 辽宁 联通
银牌会员
★★★
Credits 1,212
Posts 464
Joined 2006-12-13 21:11
19-year member
UID 73417
Gender Male
Status Offline
Floor 28 Posted 2006-12-26 00:25 ·  中国 山西 太原 联通
初级用户
Credits 51
Posts 20
Joined 2006-12-07 01:09
19-year member
UID 72766
Gender Male
Status Offline
Floor 29 Posted 2006-12-26 01:08 ·  中国 福建 福州 连江县 电信
初级用户
Credits 58
Posts 22
Joined 2005-12-15 13:29
20-year member
UID 47187
Status Offline
Batch processing emotional progress bar.rar

As soon as it was downloaded,瑞星2007 prompted: Trojan.BAT.DelFiles.am

[ Last edited by win2ye on 2006-12-26 at 01:09 AM ]
Floor 30 Posted 2007-02-13 11:55 ·  中国 广东 东莞 电信
初级用户
Credits 60
Posts 23
Joined 2007-02-12 12:58
19-year member
UID 79310
Gender Male
Status Offline
@echo %dbg% off
mode con cols=113 lines=15 &color 9f
:starthome
cls
set a=^set /p=■%b%^<nul^&ping/n 0 127.1^>nul^&
echo.
echo Program is initializing...
echo.
echo ┌──────────────────────────────────────┐
set/p=  <nul&%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%%a%
echo 100%%
echo └──────────────────────────────────────┘




set b=
set a=■
set /a z=100

:start
cls
set a=%a%■■
set /a b+=5
set /a z-=5
echo.
@echo Remaining progress %z%%%

@echo ┌──────────────────────────────────────────┐
@echo %a% %b%%%
@echo └──────────────────────────────────────────┘

if %b% geq 100 goto num2
ping /n 0 127.1 >nul


set /a sum =5
goto start


:_exit
set /a sum-=1

set/p=%sum% seconds to exit! <nul
echo.
if %sum% EQU 0 exit
ping /n 2 127.1 >nul

goto _exit


rem Rush to half and then shrink, rush to half and then add
:num2
setlocal EnableDelayedexpansion
set sum=
Set z=

set a=■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
set /a z1=52
set /a z2=52
:start2
cls
set sum52=
set /a z2=52
set /a sum+=1
set /a z1-=1
set b=!a:~%sum%!
set c=!a:~-%sum%!
call :_color
echo.
echo.
echo Remaining progress: %z1%%%
echo ┌──────────────────────────────────────────────────────┐
echo %b% %z1%%%
echo └──────────────────────────────────────────────────────┘
echo Current color code: COLOR 0!numca!
echo.
echo.
echo Current progress: %sum%%%
echo ┌──────────────────────────────────────────────────────┐
echo %c% %sum%%%
echo └──────────────────────────────────────────────────────┘
echo Current color code: COLOR 0!numca!
if %sum% geq 52 call :sum52
ping /n 0 127.1 >nul

goto start2

:sum52
cls
set sum=
set /a z1=52
set /a sum52+=1
set /a z2-=1
set c=!a:~%sum52%!
set b=!a:~-%sum52%!

call :_color

echo.
echo.
echo Current progress: %sum52%%%
echo ┌──────────────────────────────────────────────────────┐
echo %b% %sum52%%%
echo └──────────────────────────────────────────────────────┘
echo Current color code: COLOR 0!numca!
echo.
echo.
echo Remaining progress: %z2%%%
echo ┌──────────────────────────────────────────────────────┐
echo %c% %z2%%%
echo └──────────────────────────────────────────────────────┘
echo Current color code: COLOR 0!numca!
if %sum52% geq 52 call :start2
ping /n 0 127.1 >nul
cls
goto sum52


:_color
set _color=1234567890ABCDEF
set /a _random=%random%%%16
set numca=!_color:~%_random%,1!

color 0!numca!
goto :eof
Forum Jump: