ECHO OFF ECHO . IF %2NUL==NUL GOTO BAD IF %2==B GOTO B IF %2==b GOTO B CLS ECHO . ECHO The TRUCK DATA SYSTEM Installation ECHO . ECHO For Hard Disk Drives ECHO . ECHO THIS BATCH FILE WILL: ECHO . ECHO . ECHO --make a sub-directory named VEHICLES in the root directory of drive %2: ECHO --copy and expand compacted files and programs from the distribution disk ECHO --to that subdirectory and copy TLC.BAT to the root directory on drive C: ECHO --If there is no CONFIG.SYS file on your drive C:, a CONFIG.SYS file will ECHO --be added to the root directory. If you already have a CONFIG.SYS file, a ECHO --file named CONFIG.TLC will be copied. See your USER MAUNAL for details ECHO --about adding the FILES and BUFFERS statements to your CONFIG.SYS file. ECHO . ECHO __________________________________________________________________________ ECHO . ECHO Not sure? Press Ctrl C to abort installation on ECHO . ECHO %2: ECHO . ECHO and go read the USER MANUAL PAUSE CLS ECHO . ECHO . ECHO Creating the subdirectory %2:\VEHICLES ECHO . MD %2:\VEHICLES ECHO . ECHO Copying "PROGRAM" files ECHO . COPY \PROGRAM.EXE %2:\VEHICLES ECHO . ECHO Expanding the "PROGRAM" files ECHO . ECHO This takes a bit of time... %2: CD\VEHICLES IF EXIST TRUCKS.EXE ERASE TRUCKS.EXE PROGRAM ERASE PROGRAM.EXE CD\ %1: ECHO . ECHO Copying CONFIG.SYS ECHO . IF EXIST C:\CONFIG.SYS GOTO YES IF NOT EXIST C:\CONFIG.SYS GOTO NO :YES COPY \CONFIG.SYS C:\CONFIG.TLC GOTO MORE :NO COPY \CONFIG.SYS C:\ :MORE ECHO . ECHO Copying TLC.BAT ECHO . IF %2==C GOTO C IF %2==c GOTO C IF %2==D GOTO D IF %2==d GOTO D IF %2==E GOTO E IF %2==e GOTO E IF %2==F GOTO F IF %2==f GOTO F IF %2==G GOTO G IF %2==g GOTO G IF %2==H GOTO H IF %2==h GOTO H IF %2==I GOTO I IF %2==i GOTO I IF %2==J GOTO J IF %2==j GOTO J IF %2==K GOTO K IF %2==k GOTO K IF %2==L GOTO L IF %2==l GOTO L IF %2==M GOTO M IF %2==m GOTO M IF %2==N GOTO N IF %2==n GOTO N IF %2==O GOTO O IF %2==o GOTO O IF %2==P GOTO P IF %2==p GOTO P IF %2==Q GOTO Q IF %2==q GOTO Q IF %2==R GOTO R IF %2==r GOTO R IF %2==S GOTO S IF %2==s GOTO S IF %2==T GOTO T IF %2==t GOTO T IF %2==U GOTO U IF %2==u GOTO U IF %2==V GOTO V IF %2==v GOTO V IF %2==W GOTO W IF %2==w GOTO W IF %2==X GOTO X IF %2==x GOTO X IF %2==Y GOTO Y IF %2==y GOTO Y IF %2==Z GOTO Z IF %2==z GOTO Z GOTO ALL :B CLS ECHO . ECHO The TRUCK DATA SYSTEM Floppy Disk Installation ECHO . ECHO ( Hard disk users press Ctrl C and use INSTALL C ) ECHO __________________________________________________________________________ ECHO . ECHO This batch file will copy and expand the compressed PROGRAM files to a ECHO FORMATTED SYSTEM diskette in drive %2. It then copies the compressed ECHO DATA files to a VEHICLES subdirectory on another formatted diskette. ECHO You must have the two diskettes on hand now...one just using the FORMAT ECHO command, and one using FORMAT/S. Start with the one formatted with ECHO the /S command in drive %2: ECHO . ECHO NOTE ! These instructions are for 1.2M and 1.4M floppy diskettes. ECHO . ECHO ( You cannot operate the program on a 360K floppy diskette. ECHO You cannot directly install the program on a 720K diskette, although ECHO you can copy the files TRUCKS.EXE and DRIVE.DBF to that diskette after ECHO the files have been expanded. ) ECHO See USER MANUAL, page 2. ECHO __________________________________________________________________________ ECHO . ECHO Not ready? Press Ctrl C to abort installation on ECHO . ECHO DRIVE %2: PAUSE CLS ECHO . ECHO . ECHO . ECHO . ECHO . ECHO Copying "PROGRAM" files to your diskette in drive %2 ECHO . COPY \PROGRAM.EXE %2:\ ECHO . ECHO Expanding "PROGRAM" files %2: PROGRAM ERASE PROGRAM.EXE %1: ECHO . ECHO Copying CONFIG.SYS ECHO . COPY \CONFIG.SYS %2:\ ECHO Copying AUTOEXEC.BAT ECHO . COPY \AUTOEXEC.BAT %2:\ GOTO ALLONE :C COPY \C.BAT C:\TLC.BAT GOTO ALL :D COPY \D.BAT C:\TLC.BAT GOTO ALL :E COPY \E.BAT C:\TLC.BAT GOTO ALL :F COPY \F.BAT C:\TLC.BAT GOTO ALL :G COPY \G.BAT C:\TLC.BAT GOTO ALL :H COPY \H.BAT C:\TLC.BAT GOTO ALL :I COPY \I.BAT C:\TLC.BAT GOTO ALL :J COPY \J.BAT C:\TLC.BAT GOTO ALL :K COPY \K.BAT C:\TLC.BAT GOTO ALL :L COPY \L.BAT C:\TLC.BAT GOTO ALL :M COPY \M.BAT C:\TLC.BAT GOTO ALL :N COPY \N.BAT C:\TLC.BAT GOTO ALL :O COPY \O.BAT C:\TLC.BAT GOTO ALL :P COPY \P.BAT C:\TLC.BAT GOTO ALL :Q COPY \Q.BAT C:\TLC.BAT GOTO ALL :R COPY \R.BAT C:\TLC.BAT GOTO ALL :S COPY \S.BAT C:\TLC.BAT GOTO ALL :T COPY \T.BAT C:\TLC.BAT GOTO ALL :U COPY \U.BAT C:\TLC.BAT GOTO ALL :V COPY \V.BAT C:\TLC.BAT GOTO ALL :W COPY \W.BAT C:\TLC.BAT GOTO ALL :X COPY \X.BAT C:\TLC.BAT GOTO ALL :Y COPY \Y.BAT C:\TLC.BAT GOTO ALL :Z COPY \Z.BAT C:\TLC.BAT GOTO ALL :BAD CLS ECHO __________________________________________________________________________ ECHO . ECHO Usage is: INSTALL drive drive ( DON'T TYPE A COLON ) ECHO . ECHO For example: INSTALL A C with The TRUCK DATA SYSTEM diskette in Echo . ECHO drive A: would install the program on hard drive C: ECHO . ECHO Allowable hard drive letters are C,D,E,F, ... through Z. ECHO . ECHO INSTALL A B would install the program to diskettes in drive B: ECHO . ECHO For a single floppy installation, check your USER MANUAL for ECHO . ECHO special instructions. ECHO __________________________________________________________________________ ECHO . ECHO . ECHO Please reenter this command. ECHO . PAUSE ECHO GOTO ALLTWO PAUSE :ALLONE ECHO . ECHO . ECHO . ECHO After the lights on DRIVE A and DRIVE B go out, ECHO . ECHO remove the diskette in drive B:. This is your PROGRAM diskette. ECHO . ECHO Insert the other formatted diskette into drive B: and... ECHO . ECHO When ready, press the ENTER key... ECHO . ECHO . ECHO . PAUSE :ALL CONTINUE %1 %2 :ALLTWO CLS ECHO ON