Code:
echo Choice
echo.
echo Press 1 to show Systeminfo
echo Press 2 to to do a CHKDSK
echo Press 3 to show all the files in the current directory
echo.
choice Your choice:
if errorlevel 3 goto do3
if errorlevel 2 goto do2
if errorlevel 1 goto do1
:do1
.... code here
:do2
etc...
This is untested but I believe correct.