home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / HD / HD035.ZIP / UNARC.BAT < prev   
DOS Batch File  |  1990-06-21  |  4KB  |  112 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 LOTTO on the %1 drive
  25. md LOTTO
  26. a:
  27. echo            Un-archiving LOTTERY to drive %1 directory LOTTO
  28. LOTTERY %1\LOTTO
  29. COPY RANDOMNO.DAT %1\LOTTO
  30. COPY AMERICA.LOT %1\LOTTO
  31. cls
  32. goto place2
  33. :place1
  34. echo  
  35. echo       ╔════════════════════════════════════════════════════╗
  36. echo       ║         START  Procedure for Un-archiving          ║
  37. echo       ╚════════════════════════════════════════════════════╝
  38. echo  
  39. echo        Have a supply of 1 formatted disk  ready.
  40. echo  
  41. echo        Place the newly formatted system disk in drive B.
  42. echo  
  43. echo        NOTE:    If you have not yet formatted a disk,
  44. echo                               ┌─┬────┬─┐         ┌───┐
  45. echo        abort  by pressing the │ │Ctrl│ │ and the │ C │ keys
  46. echo                               └─┴────┴─┘         └───┘
  47. echo        at the same time.  You will then see the question
  48. echo  
  49. echo        "Terminate batch job?(Y/N)".  Respond "Y".  Then, format
  50. echo  
  51. echo        new diskettes and enter    UNARC B:    to begin again.
  52. echo  
  53. pause
  54. cls
  55. echo  
  56. echo  
  57. echo       ╔════════════════════════════════════════════════════╗
  58. echo       ║                Un-archiving files                  ║
  59. echo       ╚════════════════════════════════════════════════════╝
  60. echo  
  61. echo            Un-archiving LOTTERY to drive B:
  62. LOTTERY B:\
  63. COPY RANDOMNO.DAT B:\
  64. COPY AMERICA.LOT B:\
  65. echo  Please remove disk and mark it LOTTO BUSTER VER. 5.0
  66. pause
  67. goto place2:
  68. :place2
  69. CLS
  70. echo  
  71. echo       ╔════════════════════════════════════════════════════╗
  72. echo       ║              !!! Congratulations !!!               ║
  73. echo       ║                                                    ║
  74. echo       ║               You have successfully                ║
  75. echo       ║                    un-archived                     ║
  76. echo       ║                   and made your                    ║
  77. echo       ║                   working disk.                    ║
  78. echo       ║                                                    ║
  79. echo       ╚════════════════════════════════════════════════════╝
  80. echo  
  81. pause
  82. goto endit
  83. :syntax
  84. CLS
  85. echo  
  86. echo       ╔════════════════════════════════════════════════════╗
  87. echo       ║                                                    ║
  88. echo       ║              !!! Installation ERROR !!!            ║
  89. echo       ║                                                    ║
  90. echo       ║   You must identify the drive on which you want    ║
  91. echo       ║   your working disk created. Be sure to create     ║
  92. echo       ║   the hard disk directory, if needed, and trans-   ║
  93. echo       ║   fer your hard disk to that directory.            ║
  94. echo       ║                                                    ║
  95. echo       ║      For Hard Disk Systems enter:                  ║
  96. echo       ║                                                    ║
  97. echo       ║   UNARC C: ─┘ or UNARC D: ─┘or UNARC E: ─┘      ║
  98. echo       ║                                                    ║
  99. echo       ║      For Floppy Disk Systems enter:                ║
  100. echo       ║                                                    ║
  101. echo       ║         UNARC B: ─┘                               ║
  102. echo       ║                                                    ║
  103. echo       ╚════════════════════════════════════════════════════╝
  104. echo  
  105. :endit
  106. if "%1"=="B:" goto final
  107. if "%1"=="b:" goto final
  108. echo  LOTTERY can be found on the %1 drive in the LOTTO directory.
  109. goto final
  110. :final
  111. echo  This un-archiving procedure is copyrighted 1989-90 DSF Associates, Inc.
  112.