home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p068 / 1.img / SETUPCK.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-04-21  |  1.7 KB  |  76 lines

  1. @echo off
  2. cls
  3. echo ╔════════════════════════════════════════════════════════════════════════════╗
  4. echo ║                            CadKey 4.0 Install                              ║
  5. echo ╚════════════════════════════════════════════════════════════════════════════╝
  6. echo  
  7. echo  
  8. if "%1" == "" goto error
  9. echo This batch program will install the CadKey system from Drive A:
  10. echo to your hard disk.
  11. echo  
  12. echo Press (CTRL-C) now if you wish to ABORT the install procedure.
  13. echo  
  14. pause
  15. %1
  16. cd\
  17. md cadkey4
  18. cd cadkey4
  19. :loop1
  20. if exist a:file01 goto start1
  21. echo  
  22. echo WRONG disk! Please insert the System #1 into drive A.
  23. echo  
  24. pause
  25. goto loop1
  26. :start1
  27. a:unpack -d a:file01. > nul
  28. echo  
  29. echo Insert distribution disk 2 into Drive A.
  30. pause
  31. :loop2
  32. if exist a:file02 goto start2
  33. echo  
  34. echo WRONG disk! Please insert the System #2 into drive A.
  35. echo  
  36. pause
  37. goto loop2
  38. :start2
  39. a:unpack -d a:file02. > nul
  40. a:unpack -d a:file03. > nul
  41. a:unpack -d a:file04. > nul
  42. a:unpack -d a:file05. > nul
  43. echo  
  44. echo Insert distribution disk 3 into Drive A.
  45. pause
  46. :loop3
  47. if exist a:file06 goto start3
  48. echo  
  49. echo WRONG disk! Please insert the System #3 into drive A.
  50. echo  
  51. goto loop3
  52. :start3
  53. a:unpack -d a:file06. > nul
  54. a:unpack -d a:file07. > nul
  55. a:unpack -d a:file08. > nul
  56. a:unpack -d a:file09. > nul
  57. a:unpack -d a:file10. > nul
  58. a:unpack -d a:file11. > nul
  59. a:unpack -d a:file12. > nul
  60. a:unpack -d a:file13. > nul
  61. goto complete
  62. :error
  63. echo  
  64. echo You must include the name of the target drive to install
  65. echo Example: SETUPCK [drive:]
  66. echo  
  67. echo Installation Aborted!
  68. echo  
  69. goto end
  70. :COMPLETE
  71. echo  
  72. echo Installation Completed.
  73. echo Type Keysave ┘ before running CadKey 4.0
  74. echo  
  75. :END
  76.