home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / ANWENDUN / PCDRAFT / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-12-01  |  4KB  |  110 lines

  1. echo off
  2. cls
  3. echo\
  4. echo       ┌────────────────────────────────────────────────────────────┐
  5. echo       │       PC-Draft-CAD   Installation  (Disk version)          │
  6. echo       │                                                            │
  7. echo       │       This will create a PCDCAD sub-directory on your      │
  8. echo       │       current disk. To install on your current hard disk   │
  9. echo       │                                                            │
  10. echo       │   1 - Place this disk in drive A: (or B:)                  │
  11. echo       │                                                            │
  12. echo       │   2 - Make your hard disk root directory current.          │
  13. echo       │       ie: for the C: drive: enter: [C:] and [CD \]         │
  14. echo       │                                                            │
  15. echo       │   3 - Enter: [A:INSTALL]. (or [B:INSTALL])                 │
  16. echo       │                                                            │
  17. echo       │       This will extract all the files from the self-       │
  18. echo       │       extracting LHARC files and will create a START.BAT   │
  19. echo       │       file apropriate for your display system.             │
  20. echo       │                                                            │
  21. echo       │       This batch file is for those of you who have         │
  22. echo       │       obtained PC-Draft-CAD on disk.                       │
  23. echo       │                                                            │
  24. echo       │       If you do not wish to continue, press Ctrl-C.        │
  25. echo       └────────────────────────────────────────────────────────────┘
  26. echo\
  27. pause
  28. echo we first look at your A: drive, If you don't have a disk in A:
  29. echo -- simply ignore the error message by pressing [F] for fail.
  30. echo -- Then continue with the batch file.
  31. if exist a:pcdcad1.exe goto adrive
  32. set src=B
  33. goto start
  34. :adrive
  35. set src=A
  36. :start
  37. md pcdcad
  38. md pcdcad\fon
  39. md pcdcad\dwg
  40. md pcdcad\lib
  41. md pcdcad\mac
  42. cd pcdcad
  43. %src%:pcdcad1
  44. %src%:pcdcad2
  45. %src%:pcdcad3
  46. copy *.fon fon
  47. del *.fon
  48. copy *.dwg dwg
  49. del *.dwg
  50. copy *.lib lib
  51. del *.lib
  52. copy *.mac mac
  53. del *.mac
  54. cls
  55. vidtest
  56. if errorlevel 7 goto HERCULES
  57. if errorlevel 5 goto VGACOLOR
  58. if errorlevel 4 goto VGAMONO
  59. if errorlevel 3 goto EGACOLOR
  60. if errorlevel 2 goto EGAMONO
  61. if errorlevel 1 goto CGA
  62. echo   Error in detecting video adapter
  63. goto exit2
  64. :HERCULES
  65. set vtype=Hercules
  66. copy hgcstart.bat start.bat
  67. del vgadrv.com
  68. del cgadrv.com
  69. del svgadrv.com
  70. goto exit
  71. :VGACOLOR    
  72. set vtype=VGA-Color
  73. goto VGA
  74. :EGACOLOR
  75. set vtype=EGA-Color
  76. goto VGA
  77. :VGAMONO    
  78. set vtype=VGA-Mono
  79. copy cga.cfg draft3.cfg
  80. goto MONO
  81. :EGAMONO    
  82. set vtype=EGA-Mono
  83. :MONO
  84. copy cga.cfg draft3.cfg
  85. :VGA
  86. copy vgastart.bat start.bat
  87. del hgcdrv.exe
  88. goto exit
  89. :CGA
  90. set vtype=CGA
  91. copy cgastart.bat start.bat
  92. copy cga.cfg draft3.cfg
  93. :exit
  94. echo             You have a %vtype% type video display
  95. :exit2
  96. set src=
  97. set vtype=
  98. echo\
  99. echo       ┌────────────────────────────────────────────────────────────┐
  100. echo       │  Installation is complete. To start PC-Draft-CAD, enter:   │
  101. echo       │                                                            │
  102. echo       │                       START                                │
  103. echo       │                                                            │
  104. echo       │  To print the user manual, type: COPY DRAFT3.DOC PRN       │
  105. echo       │  To print READ.ME1, type: COPY READ.ME1 PRN                │
  106. echo       └────────────────────────────────────────────────────────────┘
  107. echo\
  108. echo\
  109.  
  110.