home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / diags / rtdmon12.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-07-03  |  6KB  |  121 lines

  1. @echo off
  2. cls
  3. if %1a == a goto E0
  4. if %2a == a goto E0
  5. if not exist %1\RTDMON.EXE goto e0
  6. if not exist %1\RTDMON.ICO goto nothere
  7. if not exist %1\RT-PIF.DVP goto nothere
  8. if not exist %1\RTDMON.PIF goto nothere
  9. if not exist %1\RTDMON12.DOC goto nothere
  10. if not exist %1\VENDOR.DOC goto nothere
  11. if not exist %1\ORDER.FRM goto nothere
  12. echo ╔══════════════════════════════════════════════════════════════════════════╗
  13. echo ║                                                                          ║
  14. echo ║                                                                          ║
  15. echo ║            Olsen's Real Time Disk Monitor V1.2 Installation              ║
  16. echo ║                                                                          ║
  17. echo ║                                                                          ║
  18. echo ║   This installation will install RTDMON onto the directory %2\RTDMON.    ║
  19. echo ║ You MUST have all the uncompressed files that came in the RTDMON12.???   ║
  20. echo ║ on the %1 drive and/or the directory you have specified.                 ║
  21. echo ║                                                                          ║
  22. echo ║ This will install RTDMON from %1 to %2                                   ║
  23. echo ║                                                                          ║
  24. echo ║   If you don't want to install Olsen's Real Time Disk Monitor Now, press ║
  25. echo ║ Ctrl-Break.                                                              ║
  26. echo ║                                                                          ║
  27. echo ║                                                                          ║
  28. echo ╚══════════════════════════════════════════════════════════════════════════╝
  29. pause
  30. echo Creating directory %2\RTDMON
  31. if not exist %2\RTDMON\*.* goto G0
  32. echo There is already a %2\RTDMON directory on drive %2\.  If you don't want to
  33. echo install Olsen's Real Time Disk monitor in that directory, press Ctrl-Break.
  34. echo Otherwise, press space.
  35. pause
  36. goto G2
  37. :G0
  38. md %2\RTDMON
  39. :G2
  40. :2
  41. echo Copying RTDMON now...
  42. copy %1\*.* %2\RTDMON
  43. if not exist %2\RTDMON\RTDMON.exe goto E1
  44. if not exist %2\RTDMON\RTDMON.ICO goto E1
  45. if not exist %2\RTDMON\RT-PIF.DVP goto E1
  46. if not exist %2\rtdmon\RTDMON.PIF goto e1
  47. if not exist %2\RTDMON\RTDMON12.DOC goto E1
  48. if not exist %2\RTDMON\VENDOR.DOC goto E1
  49. if not exist %2\RTDMON\ORDER.FRM goto E1
  50. %2
  51. cd\RTDMON
  52. del install.bat
  53. :done
  54. cls
  55. echo ----------======== READ THIS!! READ THIS!! READ THIS!! ========-------------
  56. echo This is NOT included in the documentation, so please read......
  57. echo ----------------------------------------------------------------------------
  58. echo Included in this disk is a DVP, a PIF, and an ICON. The DVP is for DV 2.42.
  59. echo The PIF and the ICON are for Windows 3.1. Both the PIF and the DVP are setup
  60. echo for C:\RTDMON\RTDMON.EXE.If RTDMON.EXE is on a different drive or directory 
  61. echo other than the default, you will have to make changes to them.
  62. echo ****************************************************************************
  63. echo NOTE:RTDMON must be loaded in memory before running DV, Windows, or any other
  64. echo multi-taskers. 
  65. echo ----------------------------------------------------------------------------
  66. echo Olsen's Real Time Disk Monitor is now installed on your destination disk.
  67. echo Please read the documentation before using RTDMON, It will help you alot!!
  68. echo            For Information on registering, see %2\RTDMON\ORDER.FRM.
  69. goto D2
  70. :NOTHERE
  71. echo  !! The %1\ drive does not have all the files in it from the RTDMON archive !!
  72. echo (you are missing one or more of the files included in the original archive that
  73. echo we sent out..)
  74. echo Please extract them all on to a disk and reinstall. If it does not install 
  75. echo correctly again, please contact us at:
  76. echo -------------------------------------------
  77. echo            Jim Olsen 
  78. echo            PO BOX 1291
  79. echo            Naugatuck, CT. 06770.
  80. echo -------------------------------------------
  81. pause
  82. goto ed
  83. :E0
  84. echo ╔══════════════════════════════════════════════════════════════════════════╗
  85. echo ║            Olsen's Real Time Disk Monitor V1.2 Installation              ║
  86. echo ║                                                                          ║
  87. echo ║ Instructions:                                                            ║
  88. echo ║        To install Olsen's Real Time Disk Monitor, you must enter the     ║
  89. echo ║ drive containing the files, and/or the directory you are installing      ║
  90. echo ║ FROM, and the drive which you are installing TO.                         ║
  91. echo ║                                                                          ║
  92. echo ║ For Example:                                                             ║
  93. echo ║    If you are installing from floppy drive A: to hard drive C:, enter:   ║
  94. echo ║                                                                          ║
  95. echo ║   INSTALL A: C:   (You need the colon after the drive letter!)           ║
  96. echo ║                                                                          ║
  97. echo ║    If installing from floppy drive B: to hard drive C:, then enter:      ║
  98. echo ║                                                                          ║
  99. echo ║   INSTALL B: C:                                                          ║
  100. echo ║                                                                          ║
  101. echo ║   A subdirectory named \RTDMON will be created on your hard drive.       ║
  102. echo ╚══════════════════════════════════════════════════════════════════════════╝
  103. pause
  104. goto exitit
  105. :E1
  106. echo Installation Error: Perhaps there isn't enough space on your destination
  107. echo disk. The Real Time Disk Monitor requires 105,000 bytes free space.
  108. echo Or maybe you have spelled the directory wrong, or you might not have all
  109. echo the files included in the archive in the directory you have specified.
  110. pause
  111. :ED
  112. cls
  113. echo The Real Time Disk Monitor was not installed correctly.
  114. goto exitit
  115. :D2
  116. echo               Installation Ended..... Have Fun!
  117. :EXITIT
  118.  
  119.  
  120.  
  121.