loading
im going to show you how to make an animation
in batch.

what you need:
1.a computer
2.know how to save batch files
3.time lots of time
4.(optional) half-a-brain


DISCLAIMER:
i am not responsible for any damage that happens to your
computer because you pissed around with batch files
and had no idea what you were doing!

Wooh
now thats out of the way lets start.....>>> (this way)

Step 1: THE CODE

the attached file is a simple
animation i made show WTF is all
this maddness

ECHO
a command used to echo the
input

@ECHO OFF
sets it so the command is
not shown

SLEEP xxx
pauses the script for
a set amount of seconds (xxx)

echo 1. start
echo 2. exit
SET /P M=Type 1 or 2 then press ENTER:
IF %M%==1 GOTO start
IF %M%==2 GOTO exit

simple menu

GOTO xxx
goes to the specified label (xxx)

:xxx
sets a label (xxx)

cls
clears the screen

ok this is probably hurting your bran so i will move on....
<p>@echo off</p><p>title AdminBaguio</p><p>echo.</p><p>:init</p><p>set /p input= Type &quot;Y&quot; to start -</p><p>if /I %input%==Y goto main</p><p>if not /I %input%==Y goto end</p><p>:main</p><p>cls</p><p>echo.</p><p>set /p input= Type [1-5] or Hit x to quit -</p><p>if %input%==1 goto batch</p><p>if %input%==2 goto down</p><p>if %input%==3 goto top</p><p>if %input%==4 goto start</p><p>if /I %input%==x goto end</p><p>if %input% GTR 5 goto main</p><p>pause</p><p>:batch</p><p>cls</p><p>echo*********** ********** ************ ************ ****** ******</p><p>echo******* **** **** ******** ***** ****** ******</p><p>echo*** *** *** *** **** **** ****** ******</p><p>echo****** *** *** **** **** ****** ******</p><p>echo********* ************ **** **** ******************</p><p>echo********** ************ **** **** ******************</p><p>echo******* *** *** **** **** ****** ******</p><p>echo*** **** *** *** **** **** *** ****** ******</p><p>echo*** ***** *** *** ******** **** ****** ******</p><p>echo************ *** *** **** ************ ****** ******</p><p>pause</p><p>set /p input= Wanna try another trick? type &quot;Y&quot; -</p><p>if /I %input%==Y goto main</p><p>if /I %input% NEQ Y goto end</p><p>:down</p><p>cls</p><p>echo.</p><p>echo.</p><p>echo.</p><p>echo .########..########....#####...##.....##.##....##</p><p>echo .##.....##.##.....##..##...##...##...##...##..##.</p><p>echo .##.....##.##.....##.##.....##...##.##.....####..</p><p>echo .########..########..##.....##....###.......##...</p><p>echo .##........##...##...##.....##...##.##......##...</p><p>echo .##........##....##...##...##...##...##.....##...</p><p>echo .##........##.....##...#####...##.....##....##...</p><p>:colors </p><p>Set /a num=(%Random% %%9)+1</p><p>color %num%</p><p>PING 127.0.0.1 -n 2 &gt; NUL</p><p>goto colors</p><p>set /p input= Wanna try another trick? type &quot;Y&quot; -</p><p>if /I %input%==Y goto main</p><p>if /I %input% NEQ Y goto end</p><p>:top</p><p>cls</p><p>echo.</p><p>echo Press Ctrl + C to end the loop </p><p>echo.</p><p>echo.</p><p>echo.</p><p>echo.</p><p>echo.</p><p>echo*********** ********** ************ ************ ****** ******</p><p>echo******* **** **** ******** ***** ****** ******</p><p>echo*** *** *** *** **** **** ****** ******</p><p>echo****** *** *** **** **** ****** ******</p><p>echo********* ************ **** **** ******************</p><p>echo********** ************ **** **** ******************</p><p>echo******* *** *** **** **** ****** ******</p><p>echo*** **** *** *** **** **** *** ****** ******</p><p>echo*** ***** *** *** ******** **** ****** ******</p><p>echo************ *** *** **** ************ ****** ******</p><p>echo.</p><p>color 1a</p><p>ping localhost -n 0 &gt;nul</p><p>color 2b</p><p>ping localhost -n 0 &gt;nul</p><p>color 3c</p><p>ping localhost -n 0 &gt;nul</p><p>color 4d</p><p>ping localhost -n 0 &gt;nul</p><p>color 5e</p><p>ping localhost -n 0 &gt;nul</p><p>color 6f</p><p>ping localhost -n 0 &gt;nul</p><p>color 7a</p><p>ping localhost -n 0 &gt;nul</p><p>color 8b</p><p>ping localhost -n 0 &gt;nul</p><p>color 9c</p><p>ping localhost -n 0 &gt;nul</p><p>color 9a</p><p>ping localhost -n 0 &gt;nul</p><p>color 8b</p><p>ping localhost -n 0 &gt;nul</p><p>color 7c</p><p>ping localhost -n 0 &gt;nul</p><p>color 6d</p><p>ping localhost -n 0 &gt;nul</p><p>color 5e</p><p>ping localhost -n 0 &gt;nul</p><p>color 4f</p><p>ping localhost -n 0 &gt;nul</p><p>color 9b</p><p>ping localhost -n 0 &gt;nul</p><p>goto top</p><p>:start</p><p>cls</p><p>color 0a</p><p>echo Press Ctrl + C to terminal the Program</p><p>echo.</p><p>echo.</p><p>echo .########..########....#####...##.....##.##....##</p><p>echo .##.....##.##.....##..##...##...##...##...##..##.</p><p>echo .##.....##.##.....##.##.....##...##.##.....####..</p><p>echo .########..########..##.....##....###.......##...</p><p>echo .##........##...##...##.....##...##.##......##...</p><p>echo .##........##....##...##...##...##...##.....##...</p><p>echo .##........##.....##...#####...##.....##....##...</p><p>goto eof</p><p>::eof below</p><p>:eof</p><p>color 0c</p><p>cls</p><p>echo Press Ctrl + C to terminal the Program</p><p>echo.</p><p>echo.</p><p>echo .########..########....#####...##.....##.##....##</p><p>echo .##.....##.##.....##..##...##...##...##...##..##.</p><p>echo .##.....##.##.....##.##.....##...##.##.....####..</p><p>echo .########..########..##.....##....###.......##...</p><p>echo .##........##...##...##.....##...##.##......##...</p><p>echo .##........##....##...##...##...##...##.....##...</p><p>echo .##........##.....##...#####...##.....##....##...</p><p>goto start</p><p>:end</p><p>exit</p><p>just try it.</p>
<p>Don't say I didn't warn you not to open it...</p><p>@echo off<br>color 0A<br>mode 1000<br>set HACK=1<br>echo HELLO FRIEND.<br>:Stamp<br>echo mwa ha ha &gt;&gt; %random%.txt<br>CLS<br>echo HELLO FRIEND<br>goto Stamp</p>
<p>I'm very annoyed at how my computer reacts to ceryain commands in batch. it doesn't let me wait without pinging (which means I have to wait for 3 seconds) and doesn't let me use variables in calculations.</p>
<p>In my opinion, using &quot;ping localhost&quot; is a bit stupid. You can always use timeout X -nobreak, where X is the number of seconds.</p><p>I also made two fantastic batch files :D</p><p>If i was you, I wouldn't try the second one on my computer, because it will format your pc :D</p><p>First Batch:</p><p>@echo off</p><p>mode 10000</p><p>color 0a</p><p>title MATRIX</p><p>:1</p><p>echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%</p><p>goto 1</p><p>Second Batch:</p><p>@echo off</p><p>mode 1002</p><p>echo THE MAN</p><p>echo.</p><p>echo.</p><p>echo ...................................`````````````````````````````````````````````````````````````````</p><p>echo ....................................````````````````````````````````````````````````````````````````</p><p>echo ...............................```.....`````.........```````````````````````````````````````````````</p><p>echo .................................-::://:::://++ooosoo+/:-```````````````````````````````````````````</p><p>echo .............................-:oyhmmmmmmmmmmmNNNNNmddhyso+:.````````````````````````````````````````</p><p>echo ............................:sdNNNNNNNNNNNNNNNNNNNNNNNNNmmdyo:.`````````````````````````````````````</p><p>echo ...........................-sNNNNNMMMMMNMMNNMMMMMMMNNNNNNNNNmdy/.```````````````````````````````````</p><p>echo .........................-/yNNNNNNNNNNNNNNNNNMMMMMMMMNNNNNNNNNmh+-``````````````````````````````````</p><p>echo .......................-/ymNNNNNNmmmmNNNNNNNNNNNNNNMMMNNNNNNNNNmh/.`````````````````````````````````</p><p>echo ......................-odNNNNNmmddhhddddmmmmNNNNNNNNNMMMMMNNNNNNmo.`````````````````````````````````</p><p>echo .....................:hmNNNNmddhyyyyhhhhhddddddmmNNNNNNMMMMNNNNNNm/`````````````````````````````````</p><p>echo ...................-:hNNNNNdhyyyyssyyyyyyyyyhhhddddmmmmNNNNNNNNNNNd-.```````````````````````````````</p><p>echo ..................-:hNNNNNdhsssssssssssssssyyhhhhhhhhhddmmmmNNNNNNNy-```````````````````````````````</p><p>echo ..................-/dNNNNmdyssssssssooosssssysssyyyyyyyhhhhdmmNNNNNNh-``````````````````````````````</p><p>echo ..................-+mNNNNmhysssssoosooossssssssssssssyyyyyyhhdmNNNNNN+``````````````````````````````</p><p>echo ..................-oNNNNNmhyssssoooosssssssssssssssssssyyyyyyhdmNNNNm+.`````````````````````````````</p><p>echo ..................-hNNNNNmhsssoooooooossssssyysssssysssyyyyyyyyhdmNNm:``````````````````````````````</p><p>echo .................-/mNNNNNdysssssooooooooosssssssssssyssyyyyyyyyyydNNm-``````````````````````````````</p><p>echo .................-+NNNNNmyssyyyyyyyssssoosoossssssssssssssyyyyyyydNNd.``````````````````````````````</p><p>echo ................-:smmNNmyyydmNNNNNNNmmddhyssooosossssssssssssyyyhmNNd.``````````````````````````````</p><p>echo ...............--sdNmdhyyyhsyyyhhhdddmmmmdhyyssssssyyyyyyyyyyyyyymNNh.```````````..........`````````</p><p>echo ................-oymNdysyhyyyyohhhdmmmmdhdhhyssyyyhddmmNNNmmmmdyymNN+```````````....................</p><p>echo ....---..---.---:ohNhssssyhhddhdddmNmdmddhhhysyyhdmmmmddhhhddmNNhmNd.``````````.....................</p><p>echo .--------------:oshhsssssyyyyhhhhhhhddddhhdhyyyhdmddmddmdmddhhhddmm:``````````......................</p><p>echo ---------------osysssssssssyyhhhhhhhhyyyyhdhysyydmmddhhdhmmdmmdhhdh+-````````........-..-----.......</p><p>echo --------------:sysssssssssssssyyhhhhhhhhhhysssyyhmmdhhhhhhhddddhhhhy:``````.......--------------/:--</p><p>echo --------------:ossssssssssooossssyyyyyyyyysssssyhddhhhyyyhhhyyyyyhd-```````.....-----------------ss+</p><p>echo --------------/ooossyysssoooooossyyhhyyyysssssyyhhdddhhhhhyyyyyyhyh.`````......-------------:/::-+ys</p><p>echo --------------/oossyyysssssssssyhdddhhyssysssssyhhddhyyyyyyyyhhhhyh-``````....----------:/-:+:/osoyy</p><p>echo ----------------+ssyyyyyyssyyhdmddhhhhhhhyyoossyhhhdmhyssssssyhhhhy....`......--------:::/s/ss/:/yyy</p><p>echo ----------------/ssyyhhyyhhdmmmdddhhhddddddhhhhdmmmmddhysssyyyhdhh+............------:+o++oyhhys//yy</p><p>echo ----------------:syyhhhhhhdNNmmdddhhhhhhddmmmmmmmmmmddddhyyyhhhddh:..........--------:osyssssyyyhs+y</p><p>echo ----------------:syyhhhhhddmmmNNNdhhyyhhhhhddddddddmmmmmmdhhhddddy-.........-----::::::/sssssyyhhhhs</p><p>echo -----------------oyhhhhdddddmmmdmmhs+/+/s+oysyhhddmmmmmmmmhhddddd:..........-----::::::::/syhhhhhhhh</p><p>echo -----------------:yyhhhhddddmmdhhdddys///://:/+oshmNNmmmdhhdddddo.......----:////:::::::::+syhhhhhhh</p><p>echo ------------------/yhhhhhddddddhhhhhyhyysysoosyyhdmmmdmmdddddddy-...---------::/+osssoo+/:://+soshdh</p><p>echo ----:::::---------/shhhhhhddhddhhhhhyyyyhhhhhhhdddmmmmmdddddddy------------::::/ooooosyhhyso+/yyyhdd</p><p>echo ::::::::::::--::::+hhhhhhhhdhhhhhhhyyhhdddddddddmmmmmmmdmddddo----------::::://ssssssyhdddhhyyhhhddd</p><p>echo ::::::::///+++++/:/hmhhhhhhddhhhhhhhyyyhhhdddddddddmmmmmdmdy/------::::::::/+syhssysys+++oosyhhhhyyh</p><p>echo ::::///+hmmdmdds:-/+mmddhhhhdddhhhhhhhhhhhdddddddmmmmmmmmdo:---::::::::::////+oo+++//////////++oyhhy</p><p>echo /////++ohmddddh/-./-+mNmmddddddddhdhhdhdddddddmmmNNNNmmmmd/oo+/::::::::::///::::::///+++//+++++++ohh</p><p>echo /++osyyhhddddh/-..-/-/dNNmmddddmmmdddddddmmmmmmmNNNNNmmmNy/syso////////+++ooooosssssyyysssssssssssyy</p><p>echo hhdddmmdddddds-:...::-/ymNNmmmmmmmmmmmmmmmmmNNNNNNNmmmNNh//shhs+ssyyyyyyyyyhhhddhhhhhhhhddddddddddyy</p><p>echo mmmmmmmmdddmd/-:.-.-/::+sdNNNmmmmmmmmmmmmmNNNNNNNmmmNNms+:+ymdhddddddmdddddddddddhhyyyhddmmmmmmdhhhh</p><p>echo mmmmmmmmmmdds-.:..:+hdyo++ydNNmdddddddddddmmmmmmmmmmmho+:/sdmmmddddddddddhhhhhhhhhyyssyyhdmmmddhhmmd</p><p>echo mmmmmmmmmmmd/-.:/smNmhyoo+++sddmdddddddddddddddddmmysymdssmmmmmmmddddddhhyhdddhhhyysosydmmmNmdhhmmdh</p><p>echo mmmmmmmmmmmm+:-omMMMNdyso+////+ooohmmdhhhhhhdhhhdhsshmhoymmmmmmmmmmmmdddddhhdhyyyyso+oymNmmNddhddddd</p><p>echo mmmmmmmmmmmms:+NMMMNNNmdhyo+//://:/smmmdhhhys+/+osyddsydmmmmmmmmmmmmmmmmdddddddddhhsoydmNNmddmdddddm</p><p>echo mmmmmmmmmmmmd/sNMNNNNNNNmmmdhsooo+++ymmddyo++ossyhdyymNmmmmmmmmmmmmmmmmmmmmdmdddddddhdmNNmddmmmmmmmm</p><p>echo mmmmmmmmmmmmmhsmNNNNNNNNmmmmmmmmddhhdmmmmhhhddmmmmmNNmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmddddmddmmmmmmmmNm</p><p>echo mmmmmmmmmmmmmmNNNNmNNNNNNNNNmmmmmmmmmmmmmmmNNNNNNNNNNmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmdddddmmmddmNNNm</p><p>echo mmmmmmmmmmmmmmmmmmmmmmmmmmmNNNNNNNNNNNNNNNNNNNNNNNNNmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmdmddmmhdmNNNm</p><p>echo mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmddddmmmmNNNm</p><p>echo mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmdddmmmmmNNN</p><p>echo mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmddddmmmNNNNN</p><p>echo mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmdddmdmmmNNNNN</p><p>echo mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmdddmmmmmmmmmNN</p><p>echo mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmddmmmmmmmmNNN</p><p>format c:</p><p>pause &gt; nul</p>
<p>try this script its working!!!! SAVE WITH (NAME OF UR FILE).vbs its game dont worry its not a virus</p><p>dim wsh</p><p>jumlah=2500</p><p>delay=1</p><p>set wsh=wscript.createobject(&quot;wscript.shell&quot;)</p><p>wscript.sleep 50000000</p><p>for i=1 to jumlah</p><p>wsh.sendkeys &quot;www.nicegameever.com&quot;</p><p>wsh.sendkeys &quot;{ENTER}&quot;</p><p>wscript.sleep delay</p><p>next</p><p>'end</p>
<p>this is cool, but i made my own batch file that allows people to download file from internet, very fast!</p><p>visite this instructables</p><p><a href="http://www.instructables.com/id/How-To-download-File-on-internet-using-batch-file/" rel="nofollow">http://www.instructables.com/id/How-To-download-Fi...</a></p><p>thank you!</p>
well... i don't have the program &quot;sleep&quot; on my computer. it doesn't work as the anims play real quick.
Use ping localhost -n 1 &gt;nul Instead of sleep
what is your OS? <br> <br>(i have win7 i hate it)
try <br> <br>ping localhost -n 5 &gt;nul <br> <br>the more you add it to the code the longer it takes
nice solution! im on vista. its kinda using a bazooka to kill a mosquito approach but very good!
i did that once with a spud gun! <br>anyhoo <br> <br>have you made an animation?
I think I did this some time ago. I used to make the animation play by pressing space (I used the program pause piped with null on DOS command line... never thought of using a timer [back then I couldnt, didn't even have internet]). So when I pressed space, the anim batch file would play another frame.<br><br>It was pretty fun the time I made it but no one around cared bout that. Computers were merely tools.
ur program took a little to long. (also sleep isnt on some computers)<br>HERE IS AUGMENTED CODE:<br>@echo off<br>title the life of stick man bob<br>color 0F<br>cls<br>echo THE LIFE OF STICK MAN BOB<br>echo.<br>echo IN SLOW MOTION<br>echo.<br>echo OOOOOO<br>echo O O<br>echo O # # O<br>echo O ---- O<br>echo OOOOOO<br>echo ][<br>echo _[]_<br>echo //][\\<br>echo // [] \\<br>echo // ][ \\<br>echo // [] \\<br>echo //\\<br>echo // \\<br>echo // \\<br>echo // \\<br>echo.<br>echo 1. start<br>echo 2. exit<br>SET /P M=Type 1 or 2 then press ENTER: <br>IF %M%==1 GOTO start<br>IF %M%==2 GOTO exit<br>:start<br>cls<br>echo ----------------<br>echo . 0 .<br>echo . /l\ .<br>echo . l .<br>echo . - .<br>echo . / \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . 0 .<br>echo .@ /l\ .<br>echo . l .<br>echo . - .<br>echo . / \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . 0 .<br>echo . /l\ .<br>echo . @ l .<br>echo . - .<br>echo . / \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . 0 .<br>echo . /l\ .<br>echo . l .<br>echo . @ - .<br>echo . / \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . 0 .<br>echo . /l\ .<br>echo . l .<br>echo . - .<br>echo . @ / \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . 0 .<br>echo . /l\ .<br>echo . l .<br>echo . - .<br>echo . @ / \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . 0 .<br>echo . /l\ .<br>echo . l .<br>echo . #*# - .<br>echo . *@*/ \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . 0 .<br>echo . /l\ .<br>echo . !!!!!l .<br>echo . !!!!!- .<br>echo . !!@!! \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . 0 .<br>echo . / \ .<br>echo . l .<br>echo . .<br>echo . \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . .<br>echo . 0 .<br>echo . / \ .<br>echo . l .<br>echo . \ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo ----------------<br>echo . .<br>echo . .<br>echo . .<br>echo . 0 .<br>echo . / l\\ .<br>echo ----------------<br>ping locahost -n 1 &gt;nul<br>cls<br>echo THE END OF BOB!<br>echo or is it?<br>echo.<br>echo 1. restart<br>echo 2. exit<br>SET /P M=Type 1 or 2 then press ENTER: <br>IF %M%==1 GOTO start<br>IF %M%==2 GOTO exit<br>:exit<br>echo exiting......<br>sleep 2<br>echo 1<br>sleep 1<br>echo 2<br>sleep 2<br>echo 3<br>sleep 1<br>exit

About This Instructable

23,020views

6favorites

License:

Bio: i hide, i find, i jump, i cupple to your head and use my beak to crack your skull and eat you brains!
More by eoscondor:batch file animations 
Add instructable to: