Step 3Fork Bombs / Infinite Loop (the GOTO trap)
@echo off:Startstart fork.batGOTO StartSave as fork.bat
:Start marks a place in the script to which you may want to GOTO later or quicker then planned.
GOTO tells the program to go to a specific part
start basically "starts" something it can be a webpage, anything.
eg, start http://instructables.com''
This GOTO trap last forever until the user either breaks the process of the computer crashes.
The start fork.bat can be replaced with any command you like, for example;
@echo off:Startnet send * laconix rules!GOTO StartWhich basically send the text "laconix rules!" to anyone on your network with the Messenger Service running.
fork.bat45 bytes| « Previous Step | Download PDFView All Steps | Next Step » |




































title Folder Creator
:menu
cls
echo Welcome!
echo -------------------------------------------------------------------------------------
echo.
echo 1) Create a new folder
echo 2) Exit
echo.
echo -------------------------------------------------------------------------------------
echo.
set/p nbr=Type the action number you want to do:
if %nbr%==1 GOTO new
if %nbr%==2 exit
:new
cls
echo New Folder
echo -------------------------------------------------------------------------------------
echo.
set/p nm=Folder Name:
md "%nm%"
if exist %nm% (
msg * "Folder successfully created!"
) else (
msg * "An error was found! '%nm%' was not created!"
)
GOTO menu
:: end
Save it as .bat