home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
i
/
intelss.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-10-22
|
2KB
|
83 lines
@echo off
CLS
if %1x==x goto instructions
md C:\FLASH
cd C:\FLASH
:test1
if exist CMPRD1.EXE goto installmenu
echo Please put the Intel Flash Screen Saver disk in the floppy drive.
echo Change to that floppy drive (e.g. type B:) and type INSTALL.
pause
goto test1
:installmenu
echo You may install the Intel Flash Screen Saver for
echo either DOS or Windows:
echo.
echo 1. DOS installation (3.0 and higher)
echo.
echo 2. Windows installation (3.0 and higher)
echo.
ask Please type the number of the installation that you would like: @1 2
if errorlevel 2 goto wind
:dos
cls
echo.
echo Uncompressing files for DOS installation- please wait ...
C:
%1CMPRD1
copy %1readme.dos
if not exist C:\FLASH\FLASH.EXE goto error
if not exist C:\FLASH\README.DOS goto error
cls
echo Installation successful.
echo.
pause
cls
type readme.dos|more
echo.
goto exit
:wind
cls
echo.
echo Uncompressing files for Windows installation - please wait ...
C:
%1CMPRD1
%1CMPRD2
copy %1readme.win
if not exist C:\FLASH\FLASH.EXE goto error
if not exist C:\FLASH\IOSCR.EXE goto error
if not exist C:\FLASH\HSCRLIB.DLL goto error
if not exist C:\FLASH\S&TR.PIF goto error
if not exist c:\FLASH\README.WIN goto error
if not exist c:\FLASH\FLASHHLP.HLP goto error
cls
echo Installation successful.
echo.
pause
cls
type readme.win|more
echo.
goto exit
:error
cls
echo Installation error. One or more files were not copied to the C: drive.
goto exit
:instructions
cls
type %1read.me
:exit