Cool .bat Trick

Introduction: 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

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.]
pause
echo [message here,ex: WANT TO WIN A MILLION DOLLARS?]
pause
echo [message here, ex:SIKE!]
end

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

    Recommendations

    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • For the Home Contest

      For the Home Contest
    • Make It Bridge

      Make It Bridge

    14 Comments

    0
    MarkG205
    MarkG205

    6 years ago

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

    @echo off

    echo Hello, Windows needs to update!

    pause

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

    pause

    :messaround

    start

    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!

    start

    goto messaround

    0
    Psychic Master

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

    0
    hg341
    hg341

    Reply 14 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?

    0
    berky93
    berky93

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

    0
    planbsk8erb
    planbsk8erb

    Reply 14 years ago on Introduction

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

    0
    Morriscow
    Morriscow

    Reply 13 years ago on Introduction

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

    0
    Morriscow
    Morriscow

    13 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

    0
    Padlock
    Padlock

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

    0
    Colonel88
    Colonel88

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

    0
    sharlston
    sharlston

    13 years ago on Introduction

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

    0
    Gunslinger95
    Gunslinger95

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

    0
    ThuGie
    ThuGie

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

    0
    hg341
    hg341

    Reply 14 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

    0
    ThuGie
    ThuGie

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