De tekst Zie hieronder en vervolgens stijfsel op voor naar Kladblok en sla het op als een .bat kopiëren
BIJVOORBEELD === > Website Selector.bat
KOPIE
ll
\/
uitschakelen
titel Websites
kleur 0a
CLS
: terug
ECHO halen nu een website!!!
echo 1 = www.google.com
ECHO 2 = www.youtube.com
ECHO 3 = www.yahoo.com
ECHO 4 = www.facebook.com
ECHO 5 = www.twitter.com
ECHO 6 = www.instructables.com
SET /p halen =
Als % halen % == 1 goto 1
Als % halen % == 2 goto 2
Als % halen % == 3 goto 3
Als % halen % == 4 goto 4
Als % halen % == 5 goto 5
Als % halen % == 6 goto 6
: 1
Start www.google.com
goto spullen
: 2
Start www.youtube.com
goto spullen
: 3
Start www.yahoo.com
goto spullen
: 4
Start www.facebook.com
goto spullen
: 5
Start www.twitter.com
goto spullen
: 6
Start www.instructables.com
goto spullen
: spullen
ECHO druk op 1 om terug te gaan om het kiezen van een website of 2 om af te sluiten
SET /p gaan =
als % naar % == 1 goto terug
als % naar % == 2 goto exit
: terug
goto terug
: afrit
goto einde
: einde
afrit