home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo off
- cls
- if "%1"=="" goto Fehler
- if "%2"=="" goto Fehler
- if "%3"=="" goto Fehler
- goto Goon
- :Fehler
- echo.
- echo CARECOM(R) ccd Version 1.5 Installation
- echo.
- echo install Drive Path1 Path2 [ccd options]
- echo.
- echo During installation the file ccd.bat will be created. It should reside in a
- echo directory that is (or will be) included in your path statement.
- echo The first two arguments of the installation batch file give the drive (Drive)
- echo and the path (Path1; WITHOUT drive) where this file shall be saved.
- echo The third argument (Path2) should be the COMPLETE path (INCLUDING the drive)
- echo where the ccd files are stored.
- echo Path2 can be followed by up to six ccd options that will be active everytime
- echo ccd is called in the future.
- echo.
- echo Examples:
- echo.
- echo install c: \dos d:\utility\ccd
- echo install c: \dos d:\utility\ccd /norescan
- echo.
- echo For further information take a look at "readme.txt".
- goto End
- :Goon
- if not exist %3\regccd.frm goto Missing
- if not exist %3\readme.txt goto Missing
- goto Goon2
- :Missing
- echo.
- echo ccd files missing in directory "%3".
- echo.
- goto End
- :Goon2
- %1
- cd %2
- if not "Windows_NT"=="%OS%" goto DOS
- if not exist %3\ccd2i386.exe goto Missing
- %3\ccd2i386.exe /install %4 %5 %6 %7 %8 %9
- echo.
- echo Please make sure that "%1%2"
- echo is included in your path statement.
- echo.
- echo To add a directory to your path statement start the system
- echo applet from your control panel and add the path to the user
- echo environment variables.
- echo.
- echo Microsoft(R) Windows NT(TM) installation of ccd completed.
- goto End
- :DOS
- if not exist %3\ccd2.exe goto Missing
- %3\ccd2.exe /install %4 %5 %6 %7 %8 %9
- rem DOS installation
- echo.
- echo Please make sure that "%1%2"
- echo is included in the path statement in your autoexec.bat file.
- echo.
- echo DOS installation of ccd completed.
- :End
- echo.
-