Introduction: Batch File Prank

Hi Boffins of the world!

Today I'm going to show you how to right a random batch file prank.

I'll say it right now, this is NOT A VIRUS, it's a piece of harmless fun!

Have fun!

Step 1: Getting Started

 Okay, first you need to open notepad as this is where you'll type in your batch file.

Step 2: The Actual File

 Okay so here is the actual file (feel free to copy and paste it -

@echo off
@echo WARNING VIRUS ATTACK!
@echo WARNING VIRUS ATTACK!
@echo WARNING VIRUS ATTACK!
@echo All Files Deleted. Reboot to Restore.
@echo Press Enter to Reboot
ping 1.1.1.1 -n 1 -w 5000 >NUL
@echo C: Drive Deleted
@echo WARNING! All Files Lost! Virus Detected 
@echo Contact Administrator
@echo WARNING! FIREWALL BREACHED!
pause
@echo WARNING! System Shutdown in 5!
ping 1.1.1.1. -n 1 -w 1000 >NUL
@echo WARNING! System Shutdown in 4!
ping 1.1.1.1 -n 1 -w 1000 >NUL
@echo WARNING! System Shutdown in 3!
ping 1.1.1.1 -n 1 -w 1000>NUL
@echo WARNING System Shutdown in 2!
ping 1.1.1.1 -n 1 -w 1000>NUL
@echo WARNING! System Shutdown in 1!
ping 1.1.1.1 -n 1 -w 1000 >NUL
@echo Man are you easy to fool! 




Step 3: Also...

 If you want you can change the last line of the batch file (@echo man are you easy to fool!) to this

shutdown -s -f -t 15 -c  

Which will cause the pc to shutdown in 15 seconds, but will do no lasting damage!

Well Bye-Bye!