un petit exemple pour un fichier de commande . bat :
"
echo.
echo.
echo 1. choix 1
echo 2. choix 2
echo 3. Choix 3
echo Q. Quitter
echo.
echo.
choice /c:123q /n Quel est ton choix ?
if errorlevel 4 goto end
if errorlevel 3 goto chun
if errorlevel 2 goto chdeux
if errorlevel 1 goto chtrois
: chtrois
cls
echo choix 1
goto end
: chdeux
cls
echo choix 2
goto end
: chun
cls
echo choix 3
goto end
: end
"
j espere que ca te convient.