Script Game Ular
@echo off if "%~1" == "startGame" goto :game if "%~1" == "startController" goto :controller ::------------------------------------------------------------ :: verify existence of CHOICE command :: set up a macro appropriately depending on available version set "choice=" 2>nul >nul choice /c:yn /t 0 /d y if errorlevel 1 if not errorlevel 2 set "choice=choice /cs" if not defined choice ( 2>nul >nul choice /c:yn /t:y,1 if errorlevel 1 if not errorlevel 2 set "choice=choice /s" ) if not defined choice ( echo ERROR: This game requires the CHOICE command, but it is missing. echo Game aborted. :( echo( echo A 16 bit port of CHOICE.EXE from FREEDOS is available at echo http://winsupport.org/utilities/freedos-choice.html echo( echo A 32 bit version from ??? suitable for 64 bit machines is available at echo http://hp.vector.co.jp/authors/VA007219/dkclonesup/choice.html ...