What you need for this Instructable
- A computer
- Memory stick (not mandatory but a good idea)
- A little bit of time
- Friends, Family, Co-workers or somebody to totally freak out!
Feel free to comment once your done, thanks!
Remove these ads by
Signing Up






































Visit Our Store »
Go Pro Today »




Copy and paste this into Notepad:
@echo off
@echo Hello! This is a simple batch program!
pause
OK, now that you did that, save it to your Desktop as "Test.BAT" and make it so it says "All Files" on the second choice. Leave the third choice as is, then click Save and close it. Open up the file and here's what you'll see (without the quotes):
"Hello! This is a simple batch program!
Press any key to continue..."
And after you press a key, it'll close. You can replace "Hello! This is a simple batch program!" with something else, like, "WARNING: YOUR COMPUTER HAS DETECTED A FATAL VIRUS!!!!!"
The @echo reads the text after it (if it's on the same line) and commands the computer to display that text.
The @echo off commands the computer to hide the @echo command to make it look more professional.
The pause command tells the computer to display "Press any key to continue..." and will command the computer to execute the next command after a key has been pressed. Or, if there's nothing after it, the window closes.
Hi, from what I see I have followed the instructions, copied and pasted the text and even saved as ‘System Check.bat’. When I run the program a dos screen opens and closes in less than a second. What am I doing wrong? I have XP with update 3. Thanks.
Reposts that add something to the original are ok but once you've seen one or two batch file "viruses" you've seen them all.
One of our favorites was the "Laptop Bomb"
Basically the same as this, where it would sit there and wait for you to click 'OK' and each time, it would reduce the number by one. When Number = 0, display "Boom! April Fools" and end, basically.
(I know, wrong coding, but same idea.)
Just recently learned Net Sending so I hope to really employ that one against friends. Basically, you use this code:
@echo off
:loop
echo Please type your message and hit enter:
set /p message=
net send / * %message%
goto loop
And save that as a Batch File. Then, when anyone with a Windows XP with Net Send turned on (don't remember how, but some have to have it turned on) is using their computer, you open this secretly, key in your message, hit enter, and boom! every computer that is net send capable gets it.
Did it to one of my friends who was hiding up a tree and camping on the Wi-Fi. Taught him a lesson when I typed,
"I see you up there."
"Yes, you in the tree."
"Get off my Wireless Connection. You have 30 seconds to comply."