Introduction: Computer Prank

Picture of Computer Prank

Batch!

preparation time=0.5-10 minutes
arrange time= 10-30 seconds
x-time= when executed, on startup, or after a desired time.(see step 4)
difficulty= 1.5-3

Batch is a good thing. You could send someone a message over the LAN, make the victim think there is a virus and even shut down someone's computer!

here are some commands:

@echo off ( @echo on)
makes the commands hide (or show). Put this at the beginning of your batch file.

echo (something)
displays the word "something" in the cmd window, use the "pause" or "ping localhost" command for the victim to be able to read it.

pause
makes the program pause and wait for you to press any key displaying the message "press any key to continue..."

ping localhost -n(time in seconds)>nul
this is used to make a pause for some desired time in seconds

msg * (anything)
displays a dialog window with an "ok" button and a message "anything"

(command)>(filename.ext)
overwrites the file "filename.ext" with output of the command. If the file doesnt exist, it creates the file and writes to it

(command)>>(filename.ext)
the same as the previous one, but it adds the output to the file instead of overwriting it.

(command)>nul
stops the output of the command from showing

del (fullfilepath)\(filename.ext)
deletes the file "filename.ext" in "fullfilepath"

shutdown -(type) -f -t (time_in_seconds) -c "(message)"
shuts the computer down or restarts it depending on what "type" is (s for shutdown, r for restart) in "time_in_seconds" after activation (if you set it to 0, it will shut down immediately), forcing all the applications to close and leaving a message "message" (you could make it shut down without leaving the message by not typing " -c (message) ")

shutdown -a
aborts the shutdown

start
makes a new cmd window

start (fullfilepath)\(filename.ext)
opens the file "filename.ext" in "fullfilepath"

start www.instructables.com
opens the instructables home page in the default browser

using these commands, write a file in notepad(each command on a new line)
and save as something.bat
(don't forget to select "all types" in the lower bar or the file will be saved as "something.bat.txt")
if you want to, you can convert it to *.exe format using the downloadable bat to exe converter or the online bat to exe converter.
if you are using only the commands that do not require victim interaction or viewing the cmd, you can make the app invisible (so the victim doesn't see the command prompt window)

Also, if you want to learn some more, there is plenty of instructables on batch.
I found this from online! there is an instrucable on this

Step 1: Picture 2

Picture of Picture 2

Comments

Emperor Towhid (author)2014-11-10

Kool

Prof. Pickle (author)2012-12-22

Ohh goody! Another batch instructable for me to inspect.

The first thing I noticed is that the two links to the bat-to-exe-converters don't work. They come up with ERROR 404 File not found (or something along those lines).

The second thing that I was quite disappointed in is that I found the title to be misleading. It's named "Computer Prank", when it should be more appropriately named along the guidelines of "Computer Prank Common Commands".

I've noticed that this is your first instructable. I'm telling you now that computer pranks and whatnot have been thoroughly documented. If I was you, I would try something more original.

Good work, I am looking forward to more of your instructables in the near future.

**I will delete this comment if asked to by the author**

About This Instructable

2,398views

15favorites

License:

More by samgooman:Computer Prank
Add instructable to: