@ECHO OFF
ECHO Moechten Sie das wirklich tun? (j / n)
SET /p wahl=
For %%A in (J N) Do if /i '%wahl%'=='%%A' goto :Wahl%%A
Echo Ungueltige Antwort&Pause&Exit /B 1
Goto Ende
:WahlN
echo Sie haben NEIN gedrueckt
goto Ende
:WahlJ
echo Sie haben JA gedrueckt
:Ende