@echo off
:start
cls
echo select 1
echo select 2
echo select 3
ECHO %ERRORLEVEL%
IF ERRORLEVEL 1 GOTO Label1
IF ERRORLEVEL 2 GOTO Label2
IF ERRORLEVEL 3 GOTO Label3
:Label1
\\a0chidc1\D\Setup.exe
GOTO End
:Label2
/program files
GOTO End
:Label3
/discover
GOTO End
:End
i got this but i dont know where to make it so the user inputs a certain value to set for errorlevel
please advise.