home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
-
- if not exist ripterm.cnf goto FIRSTIME
-
-
- if "%1" == "" goto FULLSET
-
- if "%1" == "-v" goto VIDEO
- if "%1" == "-V" goto VIDEO
- if "%1" == "/v" goto VIDEO
- if "%1" == "/V" goto VIDEO
-
- if "%1" == "-a" goto AUDIO
- if "%1" == "-A" goto AUDIO
- if "%1" == "/a" goto AUDIO
- if "%1" == "/A" goto AUDIO
-
- if "%1" == "-c" goto COMPORT
- if "%1" == "-C" goto COMPORT
- if "%1" == "/c" goto COMPORT
- if "%1" == "/C" goto COMPORT
-
- if "%1" == "-p" goto PRINTER
- if "%1" == "-P" goto PRINTER
- if "%1" == "/p" goto PRINTER
- if "%1" == "/P" goto PRINTER
-
- if "%1" == "-f" goto FULL
- if "%1" == "-F" goto FULL
- if "%1" == "/f" goto FULL
- if "%1" == "/F" goto FULL
-
-
-
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::
- :: If we got down to here, then the user specified some invalid command line
- :: option. Show him the error of his ways.
- ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
- echo.
- echo Option "%1" is not valid. The following are the available setup
- echo options:
- echo.
- echo -v ... Prompt for new video settings
- echo -c ... Prompt for new communications port settings
- echo -a ... Prompt for new audio board configuration
- echo -p ... Prompt for new printer configuration
- echo -f ... Go into "full setup mode" (configure everything)
- echo.
- echo If you provide no options at all, setup will automatically go into
- echo full configuration mode. If you specify an option, specify it after
- echo the word SETUP (e.g., "SETUP -C" to configure your communications port).
- echo.
-
- goto GETOUT
-
-
-
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::
- :: The following section performs video setup
- ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
- :VIDEO
-
- ripterm -uv %2 %3 %4 %5 %6 %7 %8 %9
-
- goto GETOUT
-
-
-
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::
- :: The following section performs audio setup
- ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
- :AUDIO
-
- ripterm -ua %2 %3 %4 %5 %6 %7 %8 %9
-
- goto GETOUT
-
-
-
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::
- :: The following section performs COM port setup
- ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
- :COMPORT
-
- ripterm -uc %2 %3 %4 %5 %6 %7 %8 %9
-
- goto GETOUT
-
-
-
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::
- :: The following section performs printer setup
- ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
- :PRINTER
-
- ripterm -up %2 %3 %4 %5 %6 %7 %8 %9
-
- goto GETOUT
-
-
-
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::
- :: The following section performs full setup functionality
- ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
- :FULL
-
- ripterm -u %2 %3 %4 %5 %6 %7 %8 %9
-
- goto GETOUT
-
-
-
-
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::
- :: The following section performs full setup functionality
- ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
-
- :FULLSET
- cls
-
- echo.
- echo Setup starts RIPterm up into setup mode, prompting you for specific options.
- echo If you do not instruct setup to do anything else, you will be placed into
- echo "full setup mode", prompting you for all options. You can force setup to
- echo ask you for only specific things by specifying an option. The following
- echo options are available:
- echo.
- echo -v ... Prompt for new video settings
- echo -c ... Prompt for new communications port settings
- echo -a ... Prompt for new audio board configuration
- echo -p ... Prompt for new printer configuration
- echo -f ... Go into "full setup mode" (configure everything)
- echo.
- echo If you would like to go into "full setup mode", simply tap the [ENTER]
- echo key now. If you only want to re-configure one option, then hit CTRL-C
- echo now and re-run setup with the appropriate option (e.g., SETUP -C, etc).
- echo.
- echo Hit [ENTER] to perform full setup, or CTRL-C to quit:
-
- pause >NUL
-
-
- :DOALL
-
- ripterm -u
-
- goto GETOUT
-
-
-
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::
- :: This is where RIPterm is started up in "full config" mode
- ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
- :FIRSTIME
-
- ripterm
-
- goto GETOUT
-
-
-
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::
- :: This is the final exit point for the setup batch file
- ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
- :GETOUT
-
-