@echo off
choice /c:yn /M "y for yes,n for no"
if errorlevel 2 goto no
if errorlevel 1 goto yes
:no
FOR %L %%a IN (1,1,5) DO echo HelloWord
pause
goto end
:yes
echo goodbye
goto end
:nocorrect
echo not correct value
goto end
:ctrl
echo Press Ctrl+C,Program quit
:end
echo bye
pause