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!

Supplies:

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.

Share

    Recommendations

    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Gardening Contest

      Gardening Contest
    • Arduino Contest 2019

      Arduino Contest 2019

    3 Discussions

    0
    None
    ecc0927

    1 year ago

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

    0
    None
    Governor Keagan

    3 years ago

    That's really funny! Thanks for sharing.

    0
    None
    patatarium

    4 years ago

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