home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
util4
/
#cmd01.lzh
/
DEMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1986-11-17
|
3KB
|
146 lines
echo off
type demob0
#RPLY ; y(1) n(2) yes(1) no(2)
if errorlevel 2 goto b0
:c0
cls
type democ1
#RPLY ; ?(255) #(#) x(254)
if errorlevel 255 goto c0
if errorlevel 254 goto endit
if errorlevel 7 goto c7
if errorlevel 6 goto c6
if errorlevel 5 goto c5
if errorlevel 4 goto c4
if errorlevel 3 goto c3
if errorlevel 2 goto c2
if errorlevel 1 goto c1
goto c0
:c1
#ALRM 500/150
#WAIT 1
#ALRM 800/25 900/25 1000/25 1100/25 1000/25 900/25 800/25
#WAIT 1
#ALRM 2500/50 1500/25 2500/50 1500/25 2500/50
#WAIT 1
#ALRM 1500 2000 2500 3000 3500 4000 4500 4000 3500 3000 2500 2000
#WAIT 1
#ALRM 1000/25 5000/25 10000/25 15000/25 20000/25 25000/25 30000/25 32700
goto c0
:c2
type democ2
#RPLY "Enter Option Selected:" 1(1) 2(2) x(0)
if errorlevel 2 goto c22
if errorlevel 1 goto c21
goto c0
:c21
#BOOT W
:c22
#BOOT C
:c3
#DARK
goto c0
:c4
cls
#RPLY "This prompt is from #RPLY - Continue DEMO? (y/n)" y(1) n(2)
if errorlevel 2 goto c0
#RPLY "To continue from here reply YES or NO:" yes(1) no(2)
if errorlevel 2 goto c0
#RPLY "The only reply that works here is PLEASE" please(0)
#RPLY "That concludes the #RPLY demo - press any key" ?(0)
goto c0
:c5
#TIME
#RPLY "Press any key to Continue" ?(0)
goto c0
:c6
cls
type democ3
#RPLY "Enter Desired Option" 1(1) 2(2) 3(3) 4(4)
if errorlevel 4 goto c0
if errorlevel 3 goto c63
if errorlevel 2 goto c62
#WAIT 5
goto c6
:c62
#WAIT I 00:00:15
goto c6
:c63
#WAIT ?
goto c6
:c7
type demo.bat
#RPLY "Press any key to Continue" ?(0)
goto c0
:b0
cls
type demob1
#RPLY ; ?(255) #(#) x(254)
if errorlevel 255 goto b0
if errorlevel 254 goto endit
if errorlevel 7 goto b7
if errorlevel 6 goto b6
if errorlevel 5 goto b5
if errorlevel 4 goto b4
if errorlevel 3 goto b3
if errorlevel 2 goto b2
if errorlevel 1 goto b1
goto b0
:b1
#ALRM 500/150
#WAIT 1
#ALRM 800/25 900/25 1000/25 1100/25 1000/25 900/25 800/25
#WAIT 1
#ALRM 2500/50 1500/25 2500/50 1500/25 2500/50
#WAIT 1
#ALRM 1500 2000 2500 3000 3500 4000 4500 4000 3500 3000 2500 2000
#WAIT 1
#ALRM 1000/25 5000/25 10000/25 15000/25 20000/25 25000/25 30000/25 32700
goto b0
:b2
type demob2
#RPLY "Enter Option Selected:" 1(1) 2(2) x(0)
if errorlevel 2 goto b22
if errorlevel 1 goto b21
goto b0
:b21
#BOOT W
:b22
#BOOT C
:b3
#DARK
goto b0
:b4
cls
#RPLY "This prompt is from #RPLY - Continue DEMO? (y/n)" y(1) n(2)
if errorlevel 2 goto b0
#RPLY "To continue from here reply YES or NO:" yes(1) no(2)
if errorlevel 2 goto b0
#RPLY "The only reply that works here is PLEASE" please(0)
#RPLY "That concludes the #RPLY demo - press any key" ?(0)
goto b0
:b5
#TIME
#RPLY "Press any key to Continue" ?(0)
goto b0
:b6
cls
type demob3
#RPLY "Enter Desired Option" 1(1) 2(2) 3(3) 4(4)
if errorlevel 4 goto b0
if errorlevel 3 goto b63
if errorlevel 2 goto b62
#WAIT 5
goto b6
:b62
#WAIT I 00:00:15
goto b6
:b63
#WAIT ?
goto b6
:b7
type demo.bat
#RPLY "Press any key to Continue" ?(0)
goto b0
:endit