Introduction: Cool .bat Trick

Picture of Cool .bat Trick

In this tutorial I'll show you how to make a cool .bat file to trick your friends with.

Step 1: Getting Started

Picture of Getting Started

first of all, you're going to need a basic text editing software(I used notepad).When you are finished, be sure to go to save as,change .txt file to all files, then give your file a name with the extension .bat.

Step 2: Here We Go

Picture of Here We Go

Now, once you've opened your text editor start type this copy and paste this and take out the brackets and insert what you want:

@echo off
echo [message here ex:Hello, Push enter to continue.]
echo [message here,ex: WANT TO WIN A MILLION DOLLARS?]
echo [message here, ex:SIKE!]

Step 3: Conlusion

Picture of Conlusion

You can add as many messages as you want, just put echo [insert message here].Where the brackets are insert your message but remember to put pause on a separate line between each message.I hope this tutorial helped you, possibly tricked your friends and you had a fun time using this cool trick.


MarkG205 (author)2016-05-30

This is totally advanced. See a real .bat prank:

@echo off

echo Hello, Windows needs to update!


echo Wan't to start updating? Hit any key to continue.




color 01

color 02

color 03

color 04

color 05

color 10

color 12

color 13

color 14

color 15

color 20

color 21

color 23

color 24

color 25

color 30

color 31

color 32

color 34

color 35

color 40

color 41

color 42

color 43

color 45

color 50

color 51

color 52

color 53

color 54

title L

title LM

title LMA

title LMAO

title LMAO!


goto messaround

Psychic Master (author)2009-02-17

this has to be the most basic file ive ever seen, its not even that well put togeather.

hg341 (author)Psychic Master2009-02-17

how is this .bat file not well put togather?? how else can you code this?or are you talking about the 'ible?

berky93 (author)hg3412009-02-17

I think he means its sloppy, such as the "hit the y button" plus it could be a little more realistic. I really cant think of anyone who would be fooled by this. maybe make it look like a virus or make it seem like it makes your computer better.

planbsk8erb (author)berky932009-02-18

obviously, i said you could change the messages, those were just examples.

Morriscow (author)planbsk8erb2010-02-16

 yeah but it's sloppy. he used pause when he should've used pause >nul

Morriscow (author)2010-02-16

 use        pause >nul
i do this all the time but i not only put them in the startup folder at school, but i link them to rickrolls and shut down the computers sometimes

Padlock (author)2009-02-23

Wow! This is soooo advanced! I've never seen anything this awesome my entire life! (Seriously. I learned this when I was like 6. Come on...)

Colonel88 (author)Padlock2009-06-19

I agree, maybe if there were some type of more interesting screen, like a "message box" and also when you press yes another indow opens up or something. This is not that good. Looks a little fake, no offense...

sharlston (author)2009-05-17

what happens if you open notepad then put "@echo off" what will happen then

Gunslinger95 (author)2009-03-20

When you learn how to make this copy to hard drives all over a network, move themselves to a windows startup folder so it will constantly run on every startup, and mess with a computer after the main part of the script is done, ill be a little happier. And with the 'hit the y key' button', you should use an "if\else" script to let the person choose between yes or no.

ThuGie (author)2009-02-17

I'm sorry but, This souldnt count as a Instructable, More then 1 even more useful .bat ticks have been submitted. And this is far the worst i have seen. Sorry but i actually hope this gets removed as it just takes up space for no reason. If you could actually write a full .bat instructable, I would support you so thats why i'm going to say, Try it again but this time try to give more info about what everything does. And try to include more functionality instead a echo and a pause. I'm trying to hold myself to the "be nice" comment policy and hope i did that.

hg341 (author)ThuGie2009-02-17

i dont blame him he has only been a member for two days
you however have been a member for 2 yearsand you only have 3 comments

so you are being nice but i think this is good for some one who dosent even know what cmd or .bat arehe could do a little better

ThuGie (author)hg3412009-02-18

Didn't even know I have already been a member for 2 years, But its right i haven't posted any Instructables, And have only posted 3 comments, But that doesn't change that people should just write instructables that don't actually do anything.

About This Instructable




More by planbsk8erb:Cool .bat trick
Add instructable to: