home *** CD-ROM | disk | FTP | other *** search
- ECHO Off
- IF NOT .%3 == . GOTO PARMSOK
- ECHO Please start the setup program by running SDLSETUP.
- GOTO QUIT
- :PARMSOK
- ECHO * * *
- :TITLE ... now another check on the SDL version to avoid problems.
- IF NOT .%1 == .154 GOTO VERSION
- IF NOT .%2 == .155 GOTO VERSION
- sdl_get B
- ECHO * * *
- ECHO This is the last section:
- ECHO * * *
- ECHO Registered users may customize the titles on the first two header
- ECHO lines. These titles will display or not depending on the Hdr
- ECHO default setting. They can be toggled on or off with the /H option.
- Echo In order to protect the shareware notice this customization feature
- Echo is not available in the shareware version.
- ECHO * * *
- :REM Better make another check on SDL Version (see REM below).
- SDL /!
- IF NOT ERRORLEVEL %1 GOTO VERSION
- IF ERRORLEVEL %2 GOTO VERSION
- REM Check the size of SDL.COM
- sdl_get F SDL.COM
- IF NOT ERRORLEVEL 1 GOTO :SIZEOK
- REM The size must match what is passed in %3, else version is incorrect.
- IF NOT .%3 == .%GET% GOTO VERSION
- :SIZEOK
- :END
- Echo E 283 00 00 >>SDLSETUP.TXT
- SET GET=00 00
- sdl_get $
- IF ERRORLEVEL 1 Echo E 283 %GET%>>SDLSETUP.TXT
- IF NOT EXIST SDLSETUP.TXT GOTO NOCHANGE
- sdl_get F SDLSETUP.TXT
- IF NOT ERRORLEVEL 1 GOTO NOCHANGE
- echo * * *
- echo SDL is being adjusted for a 30 day evaluation period, enjoy! This
- Echo will turn off the moving reminder line for a 30 day period to let
- Echo you enjoy SDL in peace. If you are still using this unregistered
- Echo copy of SDL at the end of that time, the reminder line will
- Echo reappear. Please support the shareware concept by registering.
- echo * * *
- pause
- SDLDEBUG
- REM BATch commands end here, the rest are error messages.
- GOTO QUIT
- :VERSION
- ECHO The version of SDL is incompatible with this version of SDLSETUP.
- Echo Please copy compatible versions from your original disk and try again.
- :NOCHANGE
- ECHO * * *
- ECHO NO CHANGES HAVE BEEN MADE TO SDL.COM!
- IF EXIST SDLSETUP.TXT ERASE SDLSETUP.TXT
- :QUIT
- pause
- REM SDLDEBUG will clean up any temporary files.
- sdldebug END