loading
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.
<p>This is totally advanced. See a real .bat prank:</p><p>@echo off</p><p>echo Hello, Windows needs to update!</p><p>pause</p><p>echo Wan't to start updating? Hit any key to continue.</p><p>pause</p><p>:messaround</p><p>start</p><p>color 01</p><p>color 02</p><p>color 03</p><p>color 04</p><p>color 05</p><p>color 10</p><p>color 12</p><p>color 13</p><p>color 14</p><p>color 15</p><p>color 20</p><p>color 21</p><p>color 23</p><p>color 24</p><p>color 25</p><p>color 30</p><p>color 31</p><p>color 32</p><p>color 34</p><p>color 35</p><p>color 40</p><p>color 41</p><p>color 42</p><p>color 43</p><p>color 45</p><p>color 50</p><p>color 51</p><p>color 52</p><p>color 53</p><p>color 54</p><p>title L</p><p>title LM</p><p>title LMA</p><p>title LMAO</p><p>title LMAO!</p><p>start</p><p>goto messaround</p>
this has to be the most basic file ive ever seen, its not even that well put togeather.
how is this .bat file not well put togather?? how else can you code this?<sup>or are you talking about the 'ible?</sup><br/>
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.
obviously, i said you could change the messages, those were just examples.
&nbsp;yeah but it's sloppy. he used pause when he should've used pause &gt;nul
&nbsp;use &nbsp; &nbsp; &nbsp; &nbsp;pause &gt;nul<br /> 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
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...)
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...
what happens if you open notepad then put "@echo off" what will happen then
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.
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.
i dont blame him he has only been a member for two days <br/>you however have been a member for 2 years<sup>and you only have 3 comments</sup><br/><br/>so you are being nice but i think this is good for some one who dosent even know what cmd or .bat are<sup>he could do a little better</sup><br/>
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

12,655views

4favorites

License:

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