This is not a joke, really. But after all why will you create a virus, most likely for testing your anti-virus or for fun. Always remember that this file is only a test file and doesn't harms your computer at any cost. But you can use it to make your friend afraid. So here are the blueprints to create a virus.
- Right Click on your desktop and select Test Document from new.
- Paste this code : X5O!P%@AP[4\PZX54(P^)7CC)7}$SANDY-SYNAPTIK-ANTIVIRUS-TEST-FILE!$H+H*
- Save the file, rename it from New Text Document.txt to myfile.com
- Grab your anti-virus and check that file. What did you find? Was that a virus? I knew it. :)