Do you want to create a harmlessvirus that only prints some scary messages and finally shuts down the computer and as you start it again, your computer will work as it did before? Below you see the computer-code that is executed as you start the virus. The lines that start with REM are comments that the computer ignores.
Open Notepad in Windows. You can do this by navigating to Start > Programs > Accessories > Notepad, or simply by entering notepad under Start > Run.
Copy and paste the code given below, in the "Code" Section, into Notepad and click Save as.
Decide for a location to save the fake-virus. You should chose a location where the user won’t find the file, so saving it on the desktop would be a bad idea.