Was ist an dieser If Funktion falsch (Batch)?
(Sorry fürs doppelt fragen)
Warum crasht das Programm?
set /a Ergebnis=%F1%+%F2%+%F3%+%F4%+%F5%
echo.
echo Deine Punktzahl ist %Ergebnis%
echo.
ping localhost -n 3 > nul
if "%Ergebnis%" LEQ "7"
(
goto schlecht
)
else if %Ergebnis% LEQ "12"
(
goto besser
)
else if %Ergebnis% LEQ "16"
(
goto gut
)
else if %Ergebnis% LEQ "20" (
Goto Ehrenmann
)
:schlecht
echo wie auch immer
pause >nul