home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- echo\
- echo ┌────────────────────────────────────────────────────────────┐
- echo │ PC-Draft-CAD Installation (BBS version) │
- echo │ This will create a START.BAT file apropriate for │
- echo │ display system. It creates 4 subdirectories for │
- echo │ fonts, drawings, libraries, and macros -- and copies │
- echo │ the appropriate files to them. │
- echo │ │
- echo │ This batch file is for those of you who │
- echo │ have obtained PC-Draft-CAD from a BBS and have │
- echo │ unpacked the three self extracting LHARC EXE files. │
- echo │ │
- echo │ If you got PC-Draft-CAD on disk, you should not │
- echo │ run this. Instead run the INSTALL.BAT file on the │
- echo │ floppy disk. │
- echo │ │
- echo │ You should have all the files from the three self- │
- echo │ extracting EXE files in one sub-directory before │
- echo │ running this. │
- echo │ │
- echo │ If you do not wish to continue, press Ctrl-C. │
- echo │ │
- echo └────────────────────────────────────────────────────────────┘
- echo\
- pause
- md fon
- md dwg
- md lib
- md mac
- copy *.fon fon
- del *.fon
- copy *.dwg dwg
- del *.dwg
- copy *.lib lib
- del *.lib
- copy *.mac mac
- del *.mac
- cls
- echo ┌────────────────────────────────────────────────────────────┐
- vidtest
- if errorlevel 7 goto HERCULES
- if errorlevel 5 goto VGACOLOR
- if errorlevel 4 goto VGAMONO
- if errorlevel 3 goto EGACOLOR
- if errorlevel 2 goto EGAMONO
- if errorlevel 1 goto CGA
- echo │ Error in detecting video adapter │
- echo └────────────────────────────────────────────────────────────┘
- goto exit
- :HERCULES
- echo │ You have a Hercules monochrome Color display │
- echo │ - You can later delete the other display drivers: │
- echo │ ( vgadrv.exe, cgadrv.exe, svgadrv.exe ) │
- echo └────────────────────────────────────────────────────────────┘
- copy hgcstart.bat start.bat
- goto exit
- :VGACOLOR
- echo │ You have a VGA with Color display │
- echo │ - You can later delete the other display drivers: │
- echo │ ( hgcdrv.exe, cgadrv.exe ) │
- echo └────────────────────────────────────────────────────────────┘
- copy vgastart.bat start.bat
- goto exit
- :VGAMONO
- echo │ You have a VGA with Monochrome display │
- echo │ - You can later delete the other display drivers: │
- echo │ ( hgcdrv.exe, cgadrv.exe ) │
- echo └────────────────────────────────────────────────────────────┘
- copy vgastart.bat start.bat
- goto exit
- :EGACOLOR
- echo │ You have a EGA with Color display │
- echo │ - You can later delete the other display drivers: │
- echo │ ( hgcdrv.exe, cgadrv.exe, svgadrv.exe ) │
- echo └────────────────────────────────────────────────────────────┘
- copy vgastart.bat start.bat
- goto exit
- :EGAMONO
- echo │ You have a EGA with Monochrome display │
- echo │ - You can later delete the other display drivers: │
- echo │ ( hgcdrv.exe, cgadrv.exe, svgadrv.exe ) │
- echo └────────────────────────────────────────────────────────────┘
- copy vgastart.bat start.bat
- copy cga.cfg draft3.cfg
- goto exit
- :CGA
- echo │ You have a CGA display │
- echo │ - You can later delete the other display drivers: │
- echo │ ( hgcdrv.exe, vgadrv.exe, svgadrv.exe ) │
- echo └────────────────────────────────────────────────────────────┘
- echo You have a CGA
- copy cgastart.bat start.bat
- copy cga.cfg draft3.cfg
- :exit
- echo\
- echo ┌────────────────────────────────────────────────────────────┐
- echo │ Installation is complete. To start PC-Draft-CAD, enter: │
- echo │ │
- echo │ START │
- echo └────────────────────────────────────────────────────────────┘
- echo\
- echo\
-