home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
graphic1
/
pcdcad30.lzh
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1990-04-13
|
5KB
|
112 lines
echo off
cls
echo\
echo ┌────────────────────────────────────────────────────────────┐
echo │ PC-Draft-CAD Installation (Disk version) │
echo │ │
echo │ This will create a PCDCAD sub-directory on your │
echo │ current disk. To install on your current hard disk │
echo │ │
echo │ 1 - Place this disk in drive A: │
echo │ │
echo │ 2 - Make your hard disk root directory current. │
echo │ ie: for the C: drive: enter: [C:] and [CD \] │
echo │ │
echo │ 3 - Enter: [A:INSTALL]. │
echo │ │
echo │ This will extract all the files from the self- │
echo │ extracting LHARC files and will create a START.BAT │
echo │ file apropriate for your display system. │
echo │ │
echo │ This batch file is for those of you who have │
echo │ obtained PC-Draft-CAD on disk. │
echo │ │
echo │ If you do not wish to continue, press Ctrl-C. │
echo │ │
echo └────────────────────────────────────────────────────────────┘
echo\
pause
md pcdcad
md pcdcad\fon
md pcdcad\dwg
md pcdcad\lib
md pcdcad\mac
cd pcdcad
a:pcdcad1
a:pcdcad2
a:pcdcad3
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\