home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / misc / family2.zip / HDINSTAL.BAT < prev    next >
DOS Batch File  |  1987-10-17  |  1KB  |  38 lines

  1. IF NOT %1==AGAIN GOTO NEWINSTL
  2. ECHO During this RE-installation of the Family History System on your
  3. ECHO drive C:, the updated program files will be copied into the existing
  4. ECHO sub-directory (\FAMILY) on that drive.
  5. ECHO :
  6. PAUSE
  7. ECHO :
  8. GOTO COPYPGMS
  9. :NEWINSTL
  10. ECHO A new sub-directory (\FAMILY) is being created on your C: drive.
  11. ECHO This directory will contain all Family History files except a single
  12. ECHO batch file (FAMILY.BAT) which will be created in the main directory
  13. ECHO of the "C" drive, to be used for starting a Family History session.
  14. ECHO :
  15. ECHO It is assumed that the %1 language file is in the main directory of
  16. ECHO the "C" drive (Users of GWBASIC may have to copy the language files to
  17. ECHO the \FAMILY subdirectory of the hard disk).
  18. ECHO :
  19. IF NOT EXIST C:\FAMILY MD C:\FAMILY
  20. COPY HDFAMILY.BAT C:\FAMILY.BAT
  21. IF %1==PCJR ECHO>C:\FAMILY\START.BAT BASICA FAMINIT/F:5/C:0
  22. IF NOT %1==PCJR ECHO>C:\FAMILY\START.BAT %1 FAMINIT/F:5/C:0
  23. ECHO>>C:\FAMILY\START.BAT RETURN
  24. ECHO>C:\FAMILY\NO.BAT REM No previous PATH was in effect.
  25. ECHO>>C:\FAMILY\NO.BAT CD \
  26. :COPYPGMS
  27. IF EXIST C:\FAMILY\FAMANCST.BAS DEL C:\FAMILY\FAMANCST.BAS
  28. IF EXIST C:\FAMILY\FAMDSCND.BAS DEL C:\FAMILY\FAMDSCND.BAS
  29. COPY \SYSTEM\DATECALC.COM C:\FAMILY
  30. COPY \SYSTEM\*.BAS C:\FAMILY
  31. ECHO :
  32. ECHO You may now run the Family History System from your hard disk by
  33. ECHO just entering:   Family
  34. ECHO :
  35. CD \
  36. C:
  37. CD \
  38.