home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / RELIGION / GEN7OT15.ZIP / MAININST.BAT < prev   
DOS Batch File  |  1994-02-10  |  4KB  |  109 lines

  1. @ECHO OFF
  2. if '%1'=='' goto errorexit
  3. if '%2'=='' goto errorexit
  4. if not '%3'=='' goto cont
  5. :errorexit
  6. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  7. @ECHO * Syntax: INSTALL s: d: \DIRECTORY
  8. @ECHO *   Where \DIRECTORY is the destination directory to install the files.
  9. @ECHO *   And s: is the source disk where INSTALL.BAT and GEN7??15.EXE reside.
  10. @ECHO *       d: is the destination disk where the files should be installed.
  11. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  12. goto batchexit
  13. :cont
  14. if '%3'=='\' goto rootdir
  15. if not exist %2%3\nul goto nodir
  16. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  17. @ECHO * The specified destination directory already exists.
  18. @ECHO * Some of the current contents may be replaced, type Cntl-C to abort.
  19. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  20. PAUSE
  21. goto unzipit
  22. :rootdir
  23. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  24. @ECHO * Copying files to %2 root directory.
  25. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  26. goto unzipit
  27. :nodir
  28. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  29. @ECHO * Directory %2%3 does not exist.
  30. @ECHO * This directory will be created, type Cntl-C to abort.
  31. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  32. PAUSE
  33. MKDIR %2%3
  34. :unzipit
  35. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  36. @ECHO * Copying the GEN7 System Files and Data Files.
  37. @ECHO * * * * * * * * Answer 'Yes' to any 'Overwrite' Questions * * * * * * * 
  38. COPY /V %1GEN7G15.EXE %2%3 >NUL
  39. if exist %1GEN7%415.EXE goto copydata
  40. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  41. @ECHO * Please insert the disk with the Data (GEN7%415.EXE).
  42. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  43. PAUSE
  44. :copydata
  45. COPY /V %1GEN7%415.EXE %2%3 >NUL
  46. if exist %1GEN7HD15.EXE goto copyhd
  47. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  48. @ECHO * Please insert the disk with the GEN7 Help data (GEN7HD15.EXE).
  49. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  50. PAUSE
  51. :copyhd
  52. COPY /V %1GEN7HD15.EXE %2%3 >NUL
  53. %2
  54. CD %3
  55. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  56. @ECHO * Unpacking the files please wait...
  57. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  58. GEN7G15
  59. GEN7%415
  60. GEN7HD15
  61. if not '%4'=='VD' goto batchexit
  62. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  63. @ECHO * Building *.VOI files from *.PCM files.
  64. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  65. VOICEPCM
  66. CALL UNPCKALL
  67. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  68. @ECHO * Building the GEN7EV$$.VOC and GEN7EV$$.VDX files.
  69. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  70. BUILDVOC
  71. DEL *.VOI
  72. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  73. @ECHO * Done unpacking.
  74. :batchexit
  75. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  76. @ECHO * To run the desktop type the following command:
  77. @ECHO *         G7
  78. @ECHO *         or
  79. @ECHO *       BOOTG7
  80. if not '%4'=='TD' goto chkstudy
  81. @ECHO *         or
  82. @ECHO *      MATHTUTR
  83. @ECHO *         or
  84. @ECHO *      TIMETUTR
  85. goto copyright
  86. :chkstudy
  87. if '%4'=='ND' goto prntstudy
  88. if not '%4'=='OD' goto copyright
  89. :prntstudy
  90. @ECHO *         or
  91. @ECHO *       BIBLE
  92. :copyright
  93. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  94. @ECHO * This runs the GEN7 Desktop
  95. @ECHO * Make sure CONFIG.SYS has FILES=40 or greater in it.
  96. @ECHO * Check out the README files on this disk!
  97. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  98. @ECHO * These programs are copyrighted by:
  99. @ECHO *   Synergistic Consultants, Incorporated.
  100. @ECHO *   Post Office Box 18888
  101. @ECHO *   Huntsville, AL 35804-8888
  102. @ECHO *   1-800-828-8384
  103. @ECHO *   Compuserve ID: 71232, 257
  104. @ECHO * Press Cntl-C to avoid running the desktop.
  105. @ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  106. PAUSE
  107. CALL G7
  108.  
  109.