home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / textfile / cia93a.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-08-21  |  3KB  |  79 lines

  1. @echo off
  2.  
  3. cls
  4.  
  5. ECHO.
  6. ECHO.
  7. ECHO       ╔═══════════════════════════════════════════════════════╕
  8. ECHO       ║ This operation will combine the four CIA Hypertext    │
  9. ECHO       ║ files into a single hypertext database.               │
  10. ECHO       ║ When the operation is complete, test the program.     │
  11. ECHO       ║                                                       │
  12. ECHO       ║ To do this, simply type the command:                  │
  13. ECHO       ║              CIA      [Enter]                         │
  14. ECHO       ║                                                       │
  15. ECHO       ║ █ WARNING: You require about 4MB of free disk space █ │
  16. ECHO       ║ █          during installation, and 1.9MB free for  █ │
  17. ECHO       ║ █          the actual program. If you do not have   █ │
  18. ECHO       ║ █          this space, hit Ctrl-C to stop now.      █ │
  19. ECHO       ╙───────────────────────────────────────────────────────┘
  20. ECHO.
  21. ECHO     Hit a key to continue, Ctrl-C to stop...
  22. ECHO.
  23. PAUSE > NUL
  24.  
  25. IF NOT EXIST CIA.001 GOTO ERRS
  26. IF NOT EXIST CIA.002 GOTO ERRS
  27. IF NOT EXIST CIA.003 GOTO ERRS
  28. IF NOT EXIST CIA.004 GOTO ERRS
  29.  
  30. ECHO.
  31.  
  32. ECHO   Making the hypertext database ...
  33. COPY /B CIA.001+CIA.002+CIA.003+CIA.004 CIA.HTX /B
  34. IF EXIST CIA.HTX DEL CIA.00? > NUL
  35. FOR %%A IN (*.DIZ *.SDI) DO IF EXIST %%A DEL %%A > NUL
  36. ECHO.
  37. ECHO.
  38. ECHO.
  39. ECHO   OK, the heavy work is done.
  40. ECHO   The CIA Hypertext 93 EVALUATION program is installed.
  41. ECHO   Here are some suggestions on using the program.
  42. ECHO.
  43. ECHO   ┌──────────────────────────────────────────────────────────────┐
  44. ECHO   │  CIA      [Enter]  Standard program usage. Use it for trial. │
  45. ECHO   │                                                              │
  46. ECHO   │  CIA -lim [Enter]  Tries to use high memory to go TSR        │
  47. ECHO   │                    Hot key is:  Ctrl-. (Ctrl - Period)       │
  48. ECHO   │                                                              │
  49. ECHO   │  LH CIA   [Enter]  DOS 5 only. Tries to use high memory.     │
  50. ECHO   │                                                              │
  51. ECHO   │  CIA /h   [Enter]  More suggestions on use (h-for-help).     │
  52. ECHO   │                                                              │
  53. ECHO   │  NOTE: Use of high memory could result in use of actual      │
  54. ECHO   │        RAM of 1K or 0K (cq) of RAM. This provides full       │
  55. ECHO   │        access to a database equivalent to 2.3MB of text.     │
  56. ECHO   └──────────────────────────────────────────────────────────────┘
  57. ECHO.
  58. ECHO    NOTE: The only files you need are: CIA.EXE and CIA.HTX
  59. ECHO.
  60. ECHO.
  61. GOTO END
  62.  
  63. :ERRS
  64. ECHO.
  65. ECHO.
  66. ECHO              !!! ERROR !!!
  67. ECHO.
  68. ECHO   You must have all four parts of the CIA Hypertext 93 series,
  69. ECHO   in the current directory, in order to use the hypertext.
  70. ECHO.
  71. ECHO   You are missing
  72. IF NOT EXIST CIA.001 ECHO      CIA.001 (Usually in CIA93A.ZIP or ARJ)
  73. IF NOT EXIST CIA.002 ECHO      CIA.002 (Usually in CIA93B.ZIP or ARJ)
  74. IF NOT EXIST CIA.003 ECHO      CIA.003 (Usually in CIA93C.ZIP or ARJ)
  75. IF NOT EXIST CIA.004 ECHO      CIA.004 (Usually in CIA93D.ZIP or ARJ)
  76.  
  77. :END
  78. IF EXIST CIA.HTX DEL %0.BAT > NUL
  79.