Cool .bat Trick

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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: 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

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

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.

Be the First to Share


    • Book Character Costume Challenge

      Book Character Costume Challenge
    • Made with Math Contest

      Made with Math Contest
    • Cardboard Speed Challenge

      Cardboard Speed Challenge

    14 Discussions


    3 years ago

    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

    hg341Psychic Master

    Reply 10 years ago on Introduction

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


    Reply 10 years ago on Introduction

    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.


    9 years ago on Introduction

     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


    10 years ago on Introduction

    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...)

    1 reply

    Reply 10 years ago on Introduction

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


    10 years ago on Introduction

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


    10 years ago on Introduction

    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.


    10 years ago on Introduction

    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.

    2 replies

    Reply 10 years ago on Introduction

    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


    Reply 10 years ago on Introduction

    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.