home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
lan
/
autopi11.arj
/
AUTO.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-02-06
|
1KB
|
35 lines
echo off
REM Copyright (c) 1990-1992. Pilott Systems, Anchorage, AK. All Rights Reserved.
if '%1'=='/?' goto SYNTAX
if '%1'=='?' goto SYNTAX
if '%1'=='/1' CALL %APS% %APC%
if '%1'=='/2' %COMSPEC%/C %APS% %APC%
%0PILT /? MAIN /E:160 /R:%APC% /T"Main Menu" %1 %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel 255 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
if '%1'=='/1' SHIFT
if '%1'=='/2' SHIFT
if errorlevel 252 %APP%\AUTO /2 %1 %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel 251 %APP%\AUTO /1 %1 %2 %3 %4 %5 %6 %7 %8 %9
goto DONE
:SYNTAX
cls
echo The AutoPilott Menu System
echo.
echo You may use the following parameters:
echo.
echo /? - Display this syntax screen
echo /M - Maintenance Mode
echo /U - Force User Mode
echo /P"password" - Protect the user from exiting to DOS
echo /T"title" - Set the title
echo menuSet - Load an optional menu set
echo.
echo Use a space between AUTO and any parameters.
echo.
echo Incorrect: AUTO/M
echo Correct: AUTO /M
:DONE
echo.
echo Type AUTO and press ENTER to restart the AutoPilott Menu System.
echo.