home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem SCCSID = @(#)help.bat 6.4 91/08/05
- rem *
- rem * Process HELP requests: verify specification of "ON" or "OFF"
- rem *
- if "%1" == "" goto msg
- if "%1" == "on" goto yes
- if "%1" == "off" goto no
- if "%1" == "ON" goto yes
- if "%1" == "OFF" goto no
- if "%1" == "On" goto yes
- if "%1" == "oN" goto yes
- if "%1" == "OFf" goto no
- if "%1" == "OfF" goto no
- if "%1" == "Off" goto no
- if "%1" == "oFF" goto no
- if "%1" == "oFf" goto no
- if "%1" == "ofF" goto no
- helpmsg %1 %2
- goto exit
- :msg
- helpmsg
- goto exit
- :yes
- prompt $i$p$g
- goto exit
- :no
- cls
- prompt $p$g
- :exit
-