Introduction: Evil Self Duplicating Batch File
Have you ever wanted an evil batch file that opens itself again and again and again, doubling itself each time? Well here is how you do it.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Write the Batch
Open notepad and write this code.
What it means (line by line):
1 Don't show the folder the batch file is currently in. (it makes it look ugly)
2 Set a matrix look
3 The words after echo are what show up on the screen (you can change this message)
4 puts you in the folder you started the batch file in (I'll get to that)
5 a marker (I'll get to that too) (you can change this letter to any word, letter, or number; but leave the colon)
ANY COMMANDS YOU'D LIKE TO ADD GO HERE
6 sets what appears at the top of the screen (by close and minimize)
7 puts a small delay so it does not crash the computer instantly (change the number to set the time, I have a two second delay)
8 Opens a copy of this file in a new window (name it what you save it) (that's we need line 4)
9 goes to the marker to repeat the process. (its like a page that tells you to go back to the bookmark that leads to that page. Like a loop!)
Step 2: Save the File
Press Ctrl + S and type America.bat (name it what you typed earlier) in the text field and set filetype to all. Save it wherever, on a flash drive for school and coffee shops, or online for published and profitable anarchy. You should be good to go!
Step 3: Run.bat
Open your, batch file and if you did it right you'll get 1 at first, then 2, then 4, then 8, 16, 32, 64, 128, 256, 512, 1024, etc...