home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
network
/
autopi.zip
/
AUTO.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-03-20
|
1KB
|
39 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%
if '%APC%'=='EXIT' goto DONE
%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
set APC=
set APS=
set APP=
echo.
echo Type AUTO and press ENTER to restart the AutoPilott Menu System.
echo.