home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Buyer's Guide Volume 7 #1
/
Software_Buyers_Guide_Volume_7_Number_1_SelectWare_Technologies_1995.iso
/
luc10001
/
swtdemo.bat
< prev
next >
Wrap
DOS Batch File
|
1994-03-15
|
948b
|
52 lines
@echo off
:start
cls
echo.
echo Welcome to Rebel Assault.
echo.
echo Select an option:
echo.
echo 1. Run Rebel Assault. (If problems try option 2.)
echo Located in %1:\LUC10001.
echo 2. Create a boot-disk, then reboot, this will run Rebel Assault.
echo 3. Quit.
echo.
echo Please enter the number for your choice;
query
if errorlevel = 4 goto invalid
if errorlevel = 3 goto end
if errorlevel = 2 goto reset
if errorlevel = 1 goto run
:invalid
cls
echo Invalid option
goto start
goto end
REM Rebel Assault
:run
cls
echo Loading Rebel Assault
rebel.exe
goto end
REM Create boot disk
:reset
cls
bootmkr.exe
if errorlevel 1 goto start
echo %1: >> a:\autoexec.bat
echo cd \luc10001 >> a:\autoexec.bat
echo rebel.exe >> a:\autoexec.bat
cls
echo.
echo Exit the demonstration system and boot off created disk to run demo.
pause
goto end
:end