However, it when it gets to that part of batch file, a dialog warning pops up telling me to close or ignore. It doesn't mention the command name but mentions the path to cmd.exe and some other file.
Anyway, I choose ignore but choice.com doesn't work. It installs the program without my input.
Is there a similar program that I can use to stop and ask if I want to install a program or not?
Here's my choice script:
ECHO Do you want to install Program? ECHO (Password required) ECHO. ECHO 1. Install Program ECHO. ECHO 2. Skip installation ECHO. ECHO. CHOICE /C:12 /N Please choose a menu option (1 or 2): IF ERRORLEVEL == 2 GOTO END IF ERRORLEVEL == 1 GOTO INSTALL :INSTALL "%cddrive%\Programs\program.exe" :END



Help
Back to top











