home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
cad
/
cadcam.zip
/
INST-CNC.BAT
< prev
Wrap
DOS Batch File
|
1993-05-09
|
1KB
|
69 lines
echo off
if %1a == a goto drivec
if %1 == c: goto drivec
if %1 == d: goto drived
if %1 == C: goto drivec
if %1 == D: goto drived
if %1 == c goto drivec
if %1 == d goto drived
if %1 == C goto drivec
if %1 == D goto drived
goto wrong
:drivec
cls
echo Installing The CNC-CAD-CAM Package on drive C:
md C:\cnc
md C:\cnc\machine1
copy cadcam.exe C:\cnc
C:
cd C:\cnc
cadcam.exe
copy temp.cnc C:\cnc\machine1
copy temp.src C:\cnc\machine1
copy code.dat C:\cnc\machine1
copy param.dat C:\cnc\machine1
del temp.cnc
del temp.src
del code.dat
del param.dat
del cadcam.exe
copy cnc.bat C:\
echo Done
path C:\cnc;C:\cnc\machine1
cd\cnc\machine1
trnsedit
goto outnow
:drived
cls
echo Installing The CNC-CAD-CAM Package on drive D:
md D:\cnc
md D:\cnc\machine1
copy cadcam.exe D:\cnc
D:
cd D:\cnc
cadcam.exe
copy temp.cnc D:\cnc\machine1
copy temp.src D:\cnc\machine1
copy code.dat D:\cnc\machine1
copy param.dat D:\cnc\machine1
del temp.cnc
del temp.src
del code.dat
del param.dat
del cadcam.exe
copy cnc.bat D:\
echo Done
path D:\cnc;D:\cnc\machine1
cd\cnc\machine1
trnsedit
goto outnow
:wrong
cls
echo example: INSTALL C: or INSTALL D:
:outnow