home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
educatio
/
cmptutor.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-09-16
|
3KB
|
120 lines
@echo off
cls
echo.
echo.
echo Welcome to the "Simple Computer Tutor" Installation.
echo.
echo Please Make Sure You Have The Decompressed Tutor Files on a Floppy
echo Disk Located at the ROOT of Drive A:
echo.
echo This Installation Program Will Install the "Simple Computer Tutor" onto
echo Your Hard Disk in a Directory Named [ C:\TRYOUT ].
echo.
echo.
echo Do You Want to Stop the Installation So You Can Decompress the
echo CMPTUTOR.ZIP File onto Your Floppy Disk on the ROOT of Drive A: ? - (Y/N)
echo.
echo Entering a "Y" Will Exit
echo and Entering a "N" Will Continue With the Installation -
echo.
echo.
showline Enter Your Choice Here:
y_or_n
IF ERRORLEVEL 1 GOTO LATER
IF ERRORLEVEL 0 GOTO CONTINUE
:CONTINUE
echo.
cls
c:
cd\
md tryout
cd\tryout
copy a:\addpath.bat
copy a:\tutorgo.bat
copy a:\tutor.bat
copy a:\bootup.com
copy a:\showline.com
copy a:\scancode.com
copy a:\ansi.com
copy a:\inputnam.com
copy a:\beep.com
copy a:\y_or_n.com
copy a:\read1st.com
goto COMPLETE
:COMPLETE
cls
echo.
echo.
echo.
ansi 1;40;32m
echo.
beep
echo Installation is Complete!
echo.
echo.
ansi 37m
echo Do You Want to Proceed Into Running the Tutor Now? - (Y/N)
echo.
echo Entering a "Y" Will Continue With Your Simple Tutor Session
echo Entering a "N" Will Exit
echo.
showline Enter Your Choice Here:
y_or_n
IF ERRORLEVEL 1 GOTO GO
IF ERRORLEVEL 0 GOTO EXIT
:GO
c:
cd\tryout
call tutor.bat
echo.
echo.
cls
echo.
echo.
echo.
echo Please Press "Y" to Confirm Exiting With Rebooting OR
echo "N" to Confirm Exiting Without Rebooting - (Y/N)
echo.
showline Enter Your Choice Here:
echo.
y_or_n
IF ERRORLEVEL 1 GOTO BOOT
IF ERRORLEVEL 0 GOTO NO
goto exit
:EXIT
cls
echo.
echo.
echo
C:\TRYOUT
was
Added
to Your Path Statement when it ran.
echo The Tutor Will Reboot Your System Now So as to Restore Your Original
echo Path Statement.
echo You Have the Option to Exit Without Rebooting if You Choose to Reboot
echo Your System Yourself.
echo.
echo
Do You Want to Continue With Exit and Reboot - (Y/N) ?
echo.
echo
Entering a "
Y
" Will Exit and Automatically Reboot.
echo
Entering a "
N
" Will Exit Without Rebooting.
echo.
ansi 1;40;37m
showline Enter You Choice Here:
echo.
y_or_n
IF ERRORLEVEL 1 GOTO BOOT
IF ERRORLEVEL 0 GOTO NO
:BOOT
cls
echo.
echo.
echo Be Sure To Remove any Floppy Disks From Drive A:
echo AFTER Pressing a Key to Continue!
echo.
pause
bootup
:LATER
cls
exit
:NO
cls
exit