home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- echo
- echo Single User ENCOMPASS Software Installation
- echo -------------------------------------------
- if $%1 == $ goto prompt
- if %1 == c goto cdrive
- if %1 == C goto cdrive
- if %1 == c: goto cdrive
- if %1 == C: goto cdrive
- if %1 == d goto ddrive
- if %1 == D goto ddrive
- if %1 == d: goto ddrive
- if %1 == D: goto ddrive
- rem
- rem Prompt for batch file syntax
- rem
- :prompt
- echo
- echo
- echo The INSTALL procedure can install ENCOMPASS on drive C or D.
- echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- echo Use one of the following: install c or install d
- echo - - - - - - - - - - - - - - - - - - - - - - - - -
- goto exit
- rem
- rem C drive installation
- rem
- :cdrive
- echo Installing on drive C.
- echo Make sure ENCOMPASS diskette is in drive A.
- echo -------------------------------------------
- pause
- echo
- echo Creating directory.... C:\ENCOMPASS
- echo Note: If you are re-installing ignore directory error messages.
- c:
- md \encompas
- cd \encompas
- echo
- echo Copying files...
- copy a:*.* > nul
- copy menu.bat \ > nul
- del menu.bat > nul
- del menud.bat > nul
- copy menu.lin \ > nul
- del menu.lin > nul
- cd \
- copy autoexec.bat + menu.lin autoexec.bat > nul
- del menu.lin > nul
- cls
- echo
- echo Single User ENCOMPASS Installed. Type 'menu' to load ENCOMPASS.
- echo Please print out README.DOC for detailed usage information.
- echo
- pause
- goto exit
- rem
- rem D drive installation
- rem
- :ddrive
- echo Installing on drive D.
- echo Make sure ENCOMPASS diskette is in drive A.
- echo -------------------------------------------
- pause
- echo
- echo Creating directory.... D:\ENCOMPASS
- echo Note: If you are re-installing ignore directory error messages.
- d:
- md \encompas
- cd \encompas
- echo
- echo Copying files...
- copy a:*.* > nul
- copy menud.bat c:\menu.bat > nul
- del menu.bat > nul
- del menud.bat > nul
- copy menu.lin c:\ > nul
- del menu.lin > nul
- c:
- cd \
- copy autoexec.bat + menu.lin autoexec.bat > nul
- del menu.lin > nul
- cls
- echo
- echo Single User ENCOMPASS Installed. Type 'menu' to load ENCOMPASS.
- echo Please print out README.DOC for detailed usage information.
- echo
- pause
- :exit