First post, by WhiteKenny
I'm sorry if this has been posted in the past but I was unable to find any other posts about this issue when I searched. I'm trying to create a menu within a batch file to run some old DOS games. the menu seems to work, but no matter which option I select it always launches the 1st game. any help would be appreciated.
here is the batch file I've created.
ECHO OFFCLS:MENUECHO.ECHO ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»ECHO º Shall we play a game. ºECHO ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ECHO º ºECHO º 1 - Wolfenstein 3D ºECHO º 2 - The Ultimate Doom ºECHO º 3 - Evilution ºECHO º 4 - The Plutonia Experiment ºECHO º ºECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼECHO.ECHO Type 1, 2, 3 or 4 to start the game:CHOICE /C:1234 /NIF ERRORLEVEL=1 GOTO WOLF3DIF ERRORLEVEL=2 GOTO DOOMSEIF ERRORLEVEL=3 GOTO TNTIF ERRORLEVEL=4 GOTO PLUTONIA:WOLF3Dcd WOLF3DWOLF3D.EXECD..GOTO MENU:DOOMSEcd DOOM_SEDOOM.EXECD..GOTO MENU:TNTcd TNTDOOM2.EXECD..GOTO MENU:PLUTONIAcd PLUTONIADOOM2.EXECD..GOTO MENU