Benutzer:Techno DJ/Grundbefehle: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „ @echo off title Raetsel color C :start cls echo 5+5+5*0= echo. set /p mathe=Ergebnis: if "%mathe%"=="10" goto weiter goto fehler1 :fehler1 cls e…“) |
|||
| Zeile 1: | Zeile 1: | ||
| + | |||
| + | =Video= | ||
| + | [http://www.youtube.com/watch?v=Du21nQNz7mE&list=PLWCOxlrDZSS9Jpx3Ts8iBxv6c5WTa6her&index=1 Zum Tutorial] | ||
| + | |||
| + | |||
| + | |||
@echo off | @echo off | ||
title Raetsel | title Raetsel | ||
Version vom 21. August 2013, 17:01 Uhr
Video
@echo off title Raetsel color C
:start cls echo 5+5+5*0= echo. set /p mathe=Ergebnis: if "%mathe%"=="10" goto weiter goto fehler1 :fehler1 cls echo Das ist falsch! versuche es nochmal. pause > nul goto start
:weiter cls echo Was ist immer vor dir und du kannst echo es nicht sehen, nicht hoeren und nicht riechen? echo. set /p antwort=Antwort: if "%antwort%"=="Zukunft" goto weiter1 if "%antwort%"=="zukunft" goto weiter1 goto fehler2 :fehler2 cls echo das ist nicht richtig! Nochmal! pause > nul goto weiter
:weiter1 cls echo wie lautet in der regel die erste Zeile in einem Batchscript? echo. set /p echo=Antwort: if "%echo%"=="@echo off" goto ende goto fehler3 :fehler3 cls echo Das ist nicht richtig! Nochmal! pause > nul goto weiter1
:ende cls echo Du hast das Raetsel erfolgreich geschafft! Herzlichen echo Glueckwunsch! pause > nul exit