home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b104 / 1.img / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-10-09  |  1.8 KB  |  83 lines

  1. Echo Off
  2. Cls
  3. echo  
  4. echo       ▄▄  ▄▄▄▄ ▄▄▄▄
  5. echo      █  █ ▄▄▄█  ▄▄▀   INSTALL
  6. echo      █▀▀█ █▄▄▄ █▄▄▄
  7. echo  
  8. echo  
  9. If %1Z==Z Goto Noargs
  10. Goto Ckflop
  11. :Noargs
  12. Echo Enter Install (Floppy) To (Hard Disk)  Ie.  install a to c
  13. Goto Exit
  14. :Ckflop
  15. If %1Z==aZ Goto Goflop
  16. If %1Z==AZ Goto Goflop
  17. If %1Z==bZ Goto Goflop
  18. If %1Z==BZ Goto Goflop
  19. Echo Floppy Drive %1 Invalid... MUST be A or B  Install Cancelled
  20. Goto Exit
  21. :Goflop
  22. If %3Z==Z Goto NoArgs
  23. If %3Z==Z Goto Exit
  24. If %3Z==cZ Goto Gohard
  25. If %3Z==CZ Goto Gohard
  26. If %3Z==dZ Goto Gohard
  27. If %3Z==DZ Goto Gohard
  28. If %3Z==eZ Goto Gohard
  29. If %3Z==EZ Goto Gohard
  30. If %3Z==fZ Goto Gohard
  31. If %3Z==FZ Goto Gohard
  32. If %3Z==gZ Goto Gohard
  33. If %3Z==GZ Goto Gohard
  34. Echo Hard Drive %3 Invalid...  MUST be C thru G  Install Cancelled
  35. Goto Exit
  36. :Gohard
  37. Echo Install A2Z From %1 To %3?  Hit Enter To Continue Or Hit Ctrl-C To Abort
  38. Pause
  39. %3:
  40. Cd\
  41. Md\A2Z
  42. Cd\A2Z
  43. If Exist %3:\DOS\Sort.Exe Copy %3:\DOS\Sort.Exe %3:Xsort.Exe
  44. :Vol1
  45. If Not Exist %1:A2Zbase.Com Echo Insert Disk 1
  46. If Not Exist %1:A2Zbase.Com Pause
  47. If Not Exist %1:A2Zbase.Com Goto Vol1
  48. Copy %1:*.* \A2Z
  49. :Vol2
  50. If Not Exist %1:A2Zbild.Chn Echo Insert Disk2
  51. If Not Exist %1:A2Zbild.Chn Pause
  52. If Not Exist %1:A2Zbild.Chn Goto Vol2
  53. Copy %1:*.* \A2Z
  54. A2Zcnf
  55. Cls
  56. Echo A2Z Installed!
  57. Echo Print 15 Page Demo Guide?
  58. Echo Enter 'N' To Bypass
  59. Echo Hit Enter To Print
  60. Query Ask > Answer.Bat
  61. Call Answer
  62. Del Answer.Bat
  63. If "%Ask%" == "n" Goto Dir
  64. If "%Ask%" == "N" Goto Dir
  65. :PrtDemo
  66. Copy A2Zdemo.Doc Prn
  67. Echo Got A2Z Demo Guide?  Hit Any Key When Printed...
  68. Pause
  69. :Dir
  70. Dir > A2ZDIU.$$$
  71. If Exist A2ZDIR.$$$ Del A2ZDIR.$$$
  72. If Exist Xsort.Exe Goto Sort
  73. Rename A2ZDIU.$$$ A2ZDIR.$$$
  74. Goto Load
  75. :Sort
  76. Xsort < A2ZDIU.$$$ > A2ZDIR.$$$
  77. Del A2ZDIU.$$$
  78. :Load
  79. NoNum
  80. A2Zdir
  81. A2Zbase
  82. :Exit
  83.