|
Answer» I'm trying to make a menu just to get the HANG of making them, and I'm running into a problem. Here's basically what I have so far... @ECHO OFF cls :start
ECHO.
ECHO.
ECHO Welcome to Selection Paradise
ECHO.
ECHO 1 Internet Explorer
ECHO 2 Mozilla
ECHO 3 Exit Browser Selection Program
ECHO.
choice Choose Browser: /C:123 /N /t7
IF ERRORLEVEL 3 GOTO END
IF ERRORLEVEL 2 Start I:\Program Files\Mozilla Firefox\firefox.exe
IF ERRORLEVEL 1 start I:\progra~1\intern~1\iexplore.exe
:END
The problem is everytime I try to test run it, it gives me the "(blank) is not recognized as an internal or EXTERNAL command.... yada yada yada. In this instance it says it about CHOICE. What am I doing wrong? How can I resolve this ISSUE? I've looked all over the internet for HELP but can't really find anything to correct it. Any help would be great.Put quotes around Choose Browser:
I think that should do it
Al968Also, IF ERRORLEVEL 2 Start "" "I:\Program Files\Mozilla Firefox\firefox.exe" IF ERRORLEVEL 1 start "" I:\progra~1\intern~1\iexplore.exe
|