Tuesday, July 24, 2012

Colorful animation in simple DOS Batch files


@echo off
cls
echo.
echo.
echo.
echo      ===================================
Echo      Debarghya Mukherjee is always great
echo      ===================================
:uff
Set /a num=(%Random% %%9)+1
color %num%
PING 127.0.0.1 -n 2 > NUL
goto uff

Save it as colors.bat and run by double clicking it.

0 comments:

Post a Comment

You are most welcome for making comments here. I will consider your view and will reply you soon.