3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

batch file animations

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)
 
Remove these adsRemove these ads by Signing Up
 

Step 1THE CODE

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....
« Previous StepDownload PDFView All StepsNext Step »
7 comments
May 4, 2011. 7:42 AMblakexz13 says:
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
Oct 2, 2010. 8:04 AMitanium says:
well... i don't have the program "sleep" on my computer. it doesn't work as the anims play real quick.
Oct 6, 2010. 4:42 AMitanium says:
nice solution! im on vista. its kinda using a bazooka to kill a mosquito approach but very good!
Oct 6, 2010. 11:43 AMitanium says:
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.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:eoscondor
i hide, i find, i jump, i cupple to your head and use my beak to crack your skull and eat you brains!