Batch File Prank #1

Introduction: Batch File Prank #1

This is my first instructable.

This prank is very simple, yet very effective.

I made it myself, so don't go thinking I stole it from someone else.

What you need:

-A Windows computer

-A knowledge of how to copy/paste text

-A victi- I mean- friend

And that's it!

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: The File Itself

1. Open Notepad.

2. Copy+Paste this into Notepad:

@echo off
color 0a
echo %random%%random%%random%happyface :)
echo %random%%random%%random%happyface :)
echo %random%%random%%random%happyface :)
echo %random%%random%%random%happyface :)
ping localhost -n 5 >nul
dir /s
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
echo :) > %random%%random%.txt
cls
color 07
echo Computer successfully infected.
echo Press any key to exit.
pause >nul
exit

3. Save it as all files, then call it happyface.bat

~Optional~ Put it in a random folder, send it to Desktop as shortcut, then change the icon.

4. Done!

Step 2: What the File Does

First it says 3 lines of the same thing:

Random numbers, followed by a smiley face.

Then it lists all of your files, though it looks like someone's hacking or it's deleting everything.

In the background, it creates multiple .txt files.

Then, it says this:

"Computer successfully infected.

Press any key to exit."

And, as it says, you can press any key to exit.

Be the First to Share

    Recommendations

    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge
    • First Time Author Contest

      First Time Author Contest
    • Leather Challenge

      Leather Challenge

    3 Discussions

    0
    ecc0927
    ecc0927

    2 years ago

    This is so mean!!:(->:) I love it!!!!!!!!!!!

    0
    Governor Keagan
    Governor Keagan

    4 years ago

    That's really funny! Thanks for sharing.

    0
    patatarium
    patatarium

    5 years ago

    Wow its a really good joke I may try this.you make my day tanks!