Use this to trick your friends or family into believing your PC (or theirs) has been infected by a virus!
Step 1: Create a .txt File on Your Desktop
Right Click anywhere on your Desktop.
Drag your cursor over New.
Select Text Document (.txt)
Step 2: Type the Code Into the Text Document.
Copy the following code into the text document:
echo Virus detected.
echo Would you like to delete the virus?
echo Yes (y) or No (n)
Step 3: Change the Text Document Into a .bat (batch) File.
To do this you will need to enable file extensions. To do this, search "Show extensions" in the Start Menu of Windows 7/8.
Once activated, you will see the document as New Text Document.txt. Change the .txt to .bat. A menu will pop up saying the file may become unusable. Click Yes.
Step 4: Open the Batch File
When opened, the batch file will display whatever you put into the code.
The batch file will display "Hello"