home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / HD / HD034.ZIP / UNARC.BAT < prev   
DOS Batch File  |  1989-07-11  |  4KB  |  126 lines

  1. echo off
  2. cls
  3. if %1x==x goto syntax
  4. if "%1"=="C:" goto place0
  5. if "%1"=="c:" goto place0
  6. if "%1"=="D:" goto place0
  7. if "%1"=="d:" goto place0
  8. if "%1"=="E:" goto place0
  9. if "%1"=="e:" goto place0
  10. if "%1"=="F:" goto place0
  11. if "%1"=="f:" goto place0
  12. if "%1"=="B:" goto place1
  13. if "%1"=="b:" goto place1
  14. goto syntax
  15. echo  
  16. echo  
  17. echo       ╔════════════════════════════════════════════════════╗
  18. echo       ║            Un-archiving files            ║
  19. echo       ╚════════════════════════════════════════════════════╝
  20. echo  
  21. :place0
  22. %1
  23. cd\
  24. echo        Making directory MEGAPUPS on the %1 drive
  25. md MEGAPUPS
  26. a:
  27. echo        Un-archiving MEGAPUPS to drive %1 directory MEGAPUPS
  28. MEGAPUPS %1\MEGAPUPS
  29. cls
  30. goto place2
  31. :place1
  32. echo  
  33. echo       ╔════════════════════════════════════════════════════╗
  34. echo       ║         START  Procedure for Un-archiving        ║
  35. echo       ╚════════════════════════════════════════════════════╝
  36. echo  
  37. echo          Have a supply of 3 formatted disks ready.
  38. echo  
  39. echo        Place the newly formatted system disk in drive B.
  40. echo  
  41. echo        NOTE:    If you have not yet formatted a disk,
  42. echo                   ┌─┬────┬─┐          ┌───┐
  43. echo        abort  by pressing the │ │Ctrl│ │ and the │ C │ keys
  44. echo                   └─┴────┴─┘          └───┘
  45. echo        at the same time.  You will then see the question
  46. echo  
  47. echo        "Terminate batch job?(Y/N)".  Respond "Y".  Then, format
  48. echo  
  49. echo        new diskettes and enter    UNARC B:    to begin again.
  50. echo  
  51. pause
  52. cls
  53. echo  
  54. echo  
  55. echo       ╔════════════════════════════════════════════════════╗
  56. echo       ║            Un-archiving files            ║
  57. echo       ╚════════════════════════════════════════════════════╝
  58. echo  
  59. echo        Un-archiving MEGAPUPS to drive B:
  60. MEGAPUPS *.FOX B:\
  61. MEGAPUPS PCONFIG.IDX B:\
  62. MEGAPUPS PCONFIG.DBF B:\
  63. MEGAPUPS MFOXPRUN.OV* B:\
  64. MEGAPUPS FOXPLUS.RSC B:\
  65. copy megapups.bat b:\
  66. echo  Please remove disk and mark it PROGRAM DISK DRIVE A
  67. echo  Please change to a new formatted disk in drive B
  68. pause
  69. echo        Un-archiving MEGAPUPS to drive B:
  70. MEGAPUPS PUPS.IDX  B:\
  71. MEGAPUPS PUPS.DBF B:\
  72. MEGAPUPS PUPSSTAT.IDX B:\
  73. MEGAPUPS PUPSSTAT.DBF B:\
  74. echo  Please remove disk and mark it DATA DISK DRIVE B
  75. echo  Please change to a new formatted disk in drive B
  76. pause
  77. echo        Un-archiving MEGAPUPS to drive B:
  78. MEGAPUPS MFOXPRUN.EXE B:\
  79. echo  Please remove disk and mark it RUNTIME DISK DRIVE B:
  80. PAUSE
  81. goto place2:
  82. :place2
  83. CLS
  84. echo  
  85. echo       ╔════════════════════════════════════════════════════╗
  86. echo       ║          !!! Congratulations !!!        ║
  87. echo       ║                            ║
  88. echo       ║           You have successfully        ║
  89. echo       ║            un-archived            ║
  90. echo       ║               and made your            ║
  91. echo       ║               working disk.            ║
  92. echo       ║                            ║
  93. echo       ╚════════════════════════════════════════════════════╝
  94. echo  
  95. pause
  96. goto endit
  97. :syntax
  98. CLS
  99. echo  
  100. echo       ╔════════════════════════════════════════════════════╗
  101. echo       ║                            ║
  102. echo       ║          !!! Installation ERROR !!!        ║
  103. echo       ║                            ║
  104. echo       ║   You must identify the drive on which you want    ║
  105. echo       ║   your working disk created. Be sure to create    ║
  106. echo       ║   the hard disk directory, if needed, and trans-    ║
  107. echo       ║   fer your hard disk to that directory.        ║
  108. echo       ║                            ║
  109. echo       ║      For Hard Disk Systems enter:            ║
  110. echo       ║                            ║
  111. echo       ║   UNARC C: ─┘ or UNARC D: ─┘or UNARC E: ─┘    ║
  112. echo       ║                            ║
  113. echo       ║      For Floppy Disk Systems enter:        ║
  114. echo       ║                            ║
  115. echo       ║         UNARC B: ─┘                ║
  116. echo       ║                            ║
  117. echo       ╚════════════════════════════════════════════════════╝
  118. echo  
  119. :endit
  120. if "%1"=="B:" goto final
  121. if "%1"=="b:" goto final
  122. echo  MEGAPUPS can be found on the %1 drive in the MEGAPUPS directory.
  123. goto final
  124. :final
  125. echo  This un-archiving procedure is copyrighted 1989 DSF Associates, Inc.
  126.