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
/
luc10003
/
swtdemo.bat
< prev
Wrap
DOS Batch File
|
1994-03-15
|
1KB
|
59 lines
@echo off
:start
cls
echo.
echo Welcome to Sam and Max Hit the Road.
echo.
echo Choose one of the selections below:
echo.
echo 1. Run Sam and Max Hit the Road. (If problems try selection 2)
echo Located in directory %1:\LUC10003
echo 2. Create a boot-disk, boot from the disk.
echo 3. Print installation instructions.
echo 4. Quit.
echo.
echo Please enter the number for your choice;
query
if errorlevel = 5 goto invalid
if errorlevel = 4 goto end
if errorlevel = 3 goto print
if errorlevel = 2 goto reset
if errorlevel = 1 goto run
:invalid
cls
echo Invalid option
goto start
goto end
REM Sam and Max
:run
echo Loading Sam and Max
PLAYDEMO.EXE
echo.
goto end
REM Create boot disk
:reset
cls
bootmkr.exe
if errorlevel 1 goto start
echo %1: >> a:\autoexec.bat
echo cd \luc10003 >> a:\autoexec.bat
echo playdemo.exe >> a:\autoexec.bat
echo.
cls
echo Exit the demonstration system and boot from newly created disk.
pause
goto end
:print
cls
print readme.txt
goto start
goto end
:end