中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-11-23 15:18
47,820 topics / 349,938 posts / today 0 new / 48,298 members
DOS批处理 & 脚本技术(批处理室) » [Original] COLOR TIME Color Time Screen Saver
Printable Version  12,627 / 47
Floor31 fbwolf Posted 2007-02-04 00:46
初级用户 Posts 22 Credits 56
Great minds think alike, is this made based on the digital rain from The Matrix?
Floor32 yqadsq1314 Posted 2007-02-05 08:57
初级用户 Posts 26 Credits 30
Random lines are implemented using blank lines, but how to implement the random positions on the left and right? I don't quite understand some parts. Thank you in advance.
Floor33 voiL Posted 2007-02-07 04:32
中级用户 Posts 189 Credits 384
If the P - starting part is changed to like this, it will be more perfect.

From: http://www.cn-dos.net/forum/viewthread.php?tid=25095&fpage=1


@echo off
mode con cols=15 lines=1
if exist "Temp.bat" goto Main
>Temp.bat echo start/max "" "%~nx0"^&exit
start/max Temp.bat&exit

:Main

@echo off & setlocal EnableDelayedExpansion
mode con cols=125 lines=50


The part in red is the newly added content, and the part in green and bold is the modified content.

Declaration: My resolution is 1024*768.
Floor34 6622186 Posted 2007-02-18 14:24
高级用户 Posts 411 Credits 894
Floor35 frankwz Posted 2007-04-14 09:27
初级用户 Posts 22 Credits 41
Good stuff, expert
Floor36 frankwz Posted 2007-04-14 09:27
初级用户 Posts 22 Credits 41
What a great thing, expert
Floor37 slw218856 Posted 2008-08-21 20:31
初级用户 Posts 75 Credits 133
Really envious, I don't know when I can understand more...
Floor38 gxnews Posted 2008-11-03 17:25
新手上路 Posts 4 Credits 5
Floor39 kgdetg1127 Posted 2008-11-03 20:36
初级用户 Posts 89 Credits 158
Bump
Floor40 ktv98 Posted 2008-11-03 20:49
初级用户 Posts 81 Credits 112
What a great thing, expert
Floor41 breakme Posted 2010-06-30 11:35
新手上路 Posts 6 Credits 5
@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
setlocal EnableDelayedExpansion
title COLOR TIME
call :tnb
set spc=
set font==██████████

:new
setlocal
color e%RANDOM:~-1%
set rdfont=!font:~%RANDOM:~-1%,1!
set/a a=%random%%%50,b=%random%%%35
set nk=!spc:~0,%a%!
for /l %%a in (0,1,%b%) do echo.
if "%time:~0,1%"==" " set time=0%time:~1%

echo %nk% %date%
echo %nk% !%time:~0,1%a:█=%rdfont%! !%time:~1,1%a:█=%rdfont%! !%time:~3,1%a:█=%rdfont%! !%time:~4,1%a:█=%rdfont%!
echo %nk% !%time:~0,1%b:█=%rdfont%! !%time:~1,1%b:█=%rdfont%! !%time:~3,1%b:█=%rdfont%! !%time:~4,1%b:█=%rdfont%!
echo %nk% !%time:~0,1%c:█=%rdfont%! !%time:~1,1%c:█=%rdfont%! · !%time:~3,1%c:█=%rdfont%! !%time:~4,1%c:█=%rdfont%!
echo %nk% !%time:~0,1%d:█=%rdfont%! !%time:~1,1%d:█=%rdfont%! !%time:~3,1%d:█=%rdfont%! !%time:~4,1%d:█=%rdfont%!
echo %nk% !%time:~0,1%e:█=%rdfont%! !%time:~1,1%e:█=%rdfont%! · !%time:~3,1%e:█=%rdfont%! !%time:~4,1%e:█=%rdfont%!
echo %nk% www.cn-dos.net DOSCC WINBY.
ping 127.1 -n 3 >NUL
cls
endlocal
goto :new

:tnb
rem 0-9 digit appearance.
set 0a=█████
set 0b=█ █
set 0c=█ █
set 0d=█ █
set 0e=█████

set 1a= ██
set 1b= █
set 1c= █
set 1d= █
set 1e= █

set 2a= ███
set 2b= █
set 2c=█████
set 2d=█
set 2e=█████

set 3a= ███
set 3b= █
set 3c=█████
set 3d= █
set 3e=█████

set 4a=█
set 4b=█ █
set 4c=█████
set 4d= █
set 4e= █

set 5a=███
set 5b=█
set 5c=█████
set 5d= █
set 5e=█████

set 6a=███
set 6b=█
set 6c=█████
set 6d=█ █
set 6e=█████

set 7a=█████
set 7b=█ █
set 7c= █
set 7d= █
set 7e= █

set 8a=█████
set 8b=█ █
set 8c=█████
set 8d=█ █
set 8e=█████

set 9a=█████
set 9b=█ █
set 9c=█████
set 9d= █
set 9e= ████
Floor42 zouzhxi Posted 2010-06-30 12:44
中级用户 Posts 177 Credits 430 From 广东深圳
Never goes to the top-left corner, lol.
Floor43 jinzihao Posted 2010-06-30 17:34
初级用户 Posts 62 Credits 111 From http://ms-dos.cz.cc
I used the ping command inside. I don't know if it will go wrong when running in pure DOS?
Floor44 jinzihao Posted 2010-06-30 19:41
初级用户 Posts 62 Credits 111 From http://ms-dos.cz.cc
Slightly beautified:

Floor45 holley Posted 2010-11-25 10:35
新手上路 Posts 11 Credits 14
It's very interesting, learn about functions
Prev  1 2 3 4  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023