home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if not exist *.wad goto nodoom
-
- choice "Which episode do you want to run the demo for: " /c:123
- if errorlevel 3 goto 3
- if errorlevel 2 goto 2
- if errorlevel 1 goto 1
-
- :1
- doom -playdemo seclev1 -nomonsters
- goto end
- :2
- if not exist DOOM.WAD goto no
- doom -playdemo seclev2 -nomonsters
- goto end
- :3
- if not exist DOOM.WAD goto no
- doom -playdemo seclev3 -nomonsters
- goto end
- :no
- echo.
- echo It has been detected that you are using the Sharware version of DOOM.
- echo You need to register DOOM in order to use Episodes 2 and 3. If you
- echo do have the registered version, you must run RUNDEMO from the directory
- echo which contains your DOOM.WAD file.
- goto end
- :nodoom
- echo.
- echo It has been detected that you do not have DOOM in the current directory.
- echo You must copy all the relevant files to your DOOM directory and run
- echo RUNDEMO from there.
- :end
-