home *** CD-ROM | disk | FTP | other *** search
- rem --- make sure drive %1 contains Disk Two.
- :3
- if exist %1\SU25.5 goto 4
- cls
- echo Insert your STORMOVIK Disk Two in drive %1
- pause
- goto 3
- :4
-
- rem --- copy Disk Two files to the destination disk.
- echo
- echo Copying STORMOVIK Disk Two...
- copy %1\*.* %2\SU25
- rem --- If this file exist then we are doing a 3.5" 2 disk install
- if exist %1\SU25.6 goto NoThirdDisk
-
- rem --- make sure drive %1 contains Disk Three.
- :5
- if exist %1\SU25.6 goto 6
- cls
- echo Insert your STORMOVIK Disk Three in drive %1
- pause
- goto 5
- :6
-
- rem --- copy Disk Three files to the destination disk.
- echo
- echo Copying STORMOVIK Disk Three...
- copy %1\*.* %2\SU25
-
- :NoThirdDisk
- if not exist %2\SU25\SU25.6 goto installationError
-
- rem --- installation was successful!
- :installDone
- cd %2\SU25
- echo
- echo STORMOVIK is now installed on your destination disk.
- echo To run STORMOVIK, type "SU25".
- %2
- goto done
-
- :Error1
- echo
- echo Installation Error: could not find all of the STORMAVIK files
- echo on disk %2\SU25. Perhaps there is not enough free space on drive %2
- echo The STORMOVIK installation requires at least 1000K of free disk space.
- goto errorDone
-
- rem --- goto here after an error is detected, to print a message and exit.
- :errorDone
- echo STORMOVIK was not installed correctly.
-
- :done
-
-