home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
-
- REM if exist DDATA.EXE goto oneDisk
- if not exist DDOWNS.EXE goto noFile
-
- :oneDisk
-
- if "%1" == "" goto help
- if "%2" == "" goto noPath
-
- :path
-
- for %%A in (A B C D E F G H I J K L a b c d e f g h i j k l) do if !%1 == !%%A goto okay1
- goto help
-
- :okay1
-
- for %%A in ( : \ ) do if !%2 == !%%A goto help
-
- echo . INSTALLING TO DRIVE %1:\%2
- echo .
- echo . DIGITAL DOWNS INSTALLATION
- echo .
- md %1:\%2
- echo . COPYING FILES
- if exist DDATA.EXE goto copyAllOne
- copy ddowns.exe %1:\%2
-
- :insert1
-
- cls
-
- echo .
- echo Insert disk 2 in drive and push a key to continue or
- echo contol C to quit installation.
- echo .
- echo .
- PAUSE
-
- if not exist ddlibs.exe goto insert1
-
- echo Copying files from disk 2.
-
- copy ddlibs.exe %1:\%2
- copy ddata.exe %1:\2%
-
- %1:
- cd %1:\%2
-
- goto success
-
- :noPath
-
- for %%A in (A B C D E F G H I J K L a b c d e f g h i j k l) do if !%1 == !%%A goto okay
-
- goto help
-
- :okay
-
- for %%A in (\ :) do if !%1 == !%%A goto help
-
- echo . INSTALLING TO DRIVE %1:\DDOWNS
- echo .
- echo . DIGITAL DOWNS INSTALLATION
- echo .
- md %1:\ddowns
- echo . COPYING FILES
- if exist ddata.exe goto copyAllTwo
- copy ddowns.exe %1:\ddowns
-
- :insert2
-
- cls
- echo .
- echo Insert disk 2 in drive and push a key to continue or
- echo contol C to quit installation.
- echo .
- echo .
- PAUSE
-
- if not exist ddlibs.exe goto insert2
-
- echo Copying files from disk 2.
-
- copy ddlibs.exe %1:\ddowns
- copy ddata.exe %1:\ddowns
-
- %1:
- cd %1:\ddowns
-
- goto success
-
- :help
- cls
- @echo off
- echo .
- echo . DIGITAL DOWNS INSTALL UTILTIY
- echo .
- echo . This program must be installed to a hard drive. To install this
- echo . program to C drive, you would type "INSTALL C". This will put the
- echo . game in the directory "DDOWNS". If you wish to install this
- echo . game to a different drive or directory, type........
- echo .
- echo . "INSTALL (drive letter) (name of directory)"
- echo .
- echo . EXAMPLE: to install to D drive in the directory GAMES type....
- echo .
- echo . "INSTALL D GAMES"
- echo .
- echo . NOTE: Do not include the ":" after the drive letter or the "\" for
- echo . a directory.
- goto end
-
- :noFile
- cls
- echo .
- echo . PLACE DISK 1 IN DRIVE
- echo .
- echo . Sorry, the file "DDOWNS.EXE" is not on this disk. This file must
- echo . be installed first, change disks and reattempt installation.
-
- goto end
-
- :msg
- cls
- echo . AN ERROR HAS OCCURRED, INSTALLATION WAS UNSUCCESSFUL
- echo .
- echo . Sorry, at least one file required to run DIGITAL DOWNS is missing. Your
- echo . hard disk may be too full to allow for all files to be decompressed or
- echo . your souce disk may be bad. Type "PACKLIST.TXT" for a listing of files
- echo . required for this program. You must have at least 3.5 mega bytes of
- echo . Hard Disk space for successful installation.
- goto end
-
- :copyAllOne
-
- copy *.exe %1:\%2
- %1:
- cd %1:\%2
-
- goto success
-
- :copyAllTwo
-
- copy *.exe %1:\ddowns
-
- %1:
- cd %1:\ddowns
-
- goto success
- :success
-
- cls
- echo .
- echo .
- echo . DECOMPRESSING FILES
- echo .
-
- ddowns.exe
- ddlibs.exe
- ddata.exe
- DEL ddowns.exe
- DEL ddlibs.exe
- DEL ddata.exe
-
- @echo off
- cls
- if not exist dd.exe goto msg
- if not exist s.d goto msg
-
- echo .
- echo .
- echo . INSTALLATION COMPLETE
- echo . TYPE "DD" TO RUN DIGITAL DOWNS
- echo . or
- echo . "RACEBOOK" TO SEE THE GAME DOCUMENTATION
-
- :end
-
-