3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

fun things to do with batch files

Step 2Fun thing # 2

fun thing # 2
of course, theres the slightly-more-legal-but-still-annoying-fun field of pranking your friends. these work really well of someone who isn't that computer smart. Of course these are all harmless and will cause no damage. The worst thing that could possibly happen is their computer freezes. they restart. its fine. yippee.

Try this:
@echo off
echo You have been infected.
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
echo The virus will now proceed to delete your entire hard drive.....thank you for being patient...
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
msg * press ok to stop the virus
msg * haha i lied. the virus will now continue :D have a nice day.
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
echo deleting.......
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
echo YOU'VE BEEN FOOLED. THERE IS NO VIRUS.
pause

what it looks like:
« Previous StepDownload PDFView All StepsNext Step »
2 comments
Apr 12, 2012. 2:44 PMnhormell says:
hey you seem pretty good with batch so
i am trying to make a code for a prank fake virus
it not working could you help me

@ echo off
title Black Wamba
color C0
:Begining
echo you have been infected curtisy of the black wamba hacking team
pause
PING 1.1.1.1 -n 1 -w 6000 >NUL
echo oh i see you dought the black wamba
PING 1.1.1.1 -n 1 -w 120 >NUL
echo HOW ABOUT I SHOW YOU A TASTE OF OUR POWER!!!!
PING 1.1.1.1 -n 1 -w 6000 >NUL
cls
title ERROR
echo "system root\user\program files\Black Wamba" has forced a shut down
echo are you shure you want to shutdown (will lose all saved data)
echo y\n
set /p =answer
pause
if %answer%== y
echo ERROR "Black Wamba" has taken control of system
PING 1.1.1.1. -n 1 -w 600
msg* jk but remember the black wamba watches all
if %answer%== n
echo ERROR "Black Wamba" has taken control of system
PING 1.1.1.1. -n 1 -w 600
msg* jk but remember the black wamba watches all

any help is appreciated thx
Oct 28, 2011. 12:07 AMmonkeys98 says:
msg is not recognised as an internal or external command

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
6
Followers
3
Author:kerpaul