Category : Science and Education
Archive   : FT119C.ZIP
Filename : COPYPROG.BAT

 
Output of file : COPYPROG.BAT contained in archive : FT119C.ZIP

ECHO OFF
VERIFY ON
CLS
IF NOT x%1==x GOTO HARD
QUERY Copy to a Hard disk or Floppy disks? (H/F) @HF
IF ERRORLEVEL 2 GOTO FLOP
ECHO .
ECHO To copy to a hard disk you need to start this program with the
ECHO drive and path of the sub-dir into which to copy the files.
ECHO This sub-dir should be empty and should not be called FT as that
ECHO is the name used to run FAMILY TIES. (FAMTIES is used by many)
ECHO .
ECHO The syntax to copy to a hard disk C: and sub-dir FAMTIES would be:
ECHO COPYPROG C:\FAMTIES
ECHO .
ECHO Please restart COPYPROG and add the drive and path as shown
GOTO END
:HARD
ECHO .
ECHO Copying all files to %1
ECHO .
QUERY Is this correct (Y/N) @YN
IF ERRORLEVEL = 2 GOTO END
QUERY Copy the files to Hard disk drive letter (C..G) @CDEFG
C:
IF ERRORLEVEL 2 D:
IF ERRORLEVEL 3 E:
IF ERRORLEVEL 4 F:
IF ERRORLEVEL 5 G:
CD %1
COPY A:*.*
DOCS
DEL DOCS.COM
GOTO END
:FLOP
CLS
ECHO .
ECHO This program is to be used with 1 or 2 floppy drive systems
ECHO It will copy all necessary files to a PROGRAM disk and if you wish,
ECHO the DEMO and MANUAL files to another disk
ECHO You will need 1 or 2 blank formatted system disks (FORMAT B:/S)
ECHO Press CRTL BREAK to abort
ECHO .
ECHO The PROGRAM and INSTALL files will now be transfered.
ECHO Place a blank formatted SYSTEM disk in drive B:
ECHO (if a single drive then wait until requested to do so)
PAUSE
:ERRTST
IF EXIST B:COMMAND.COM GOTO CPY1
ECHO .
ECHO The disk in drive B: does NOT have a SYSTEM (DOS) on it
QUERY Do wish to abort COPYPROG and format 2 disks using FORMAT B:/S? (Y/N) @NY
IF ERRORLEVEL 2 GOTO END
:CPY1
ECHO ON
COPY FGRSH.INS B:
COPY FT.EXE B:
COPY FTCOLOR.DAT B:
COPY PRINT.CTR B:
COPY NAMES.* B:
COPY FTINSTAL.* B:
COPY *.FRM B:
COPY UPDATE.BAT B:
ECHO OFF
ECHO .
QUERY Do you wish to copy the DEMO & MANUAL files to another disk? Y/[email protected]
IF ERRORLEVEL 2 GOTO END
ECHO .
ECHO Remove the un-installed PROGRAM disk from drive B:
ECHO Insert a blank formatted SYSTEM disk in B: for
ECHO the DEMO/TUTORIAL and DOCumentatation files
ECHO (If a single drive then insert the new disk when requested for B:)
PAUSE
ECHO ON
COPY FTDEMO.EXE B:
COPY FIX-NAME.EXE B:
COPY *.DOC B:
COPY README.* B:
B:
A:DOCS
ECHO OFF
A:
ECHO .
ECHO The copy process is complete.
:END