home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / cad / cadcam.zip / INST-CNC.BAT < prev   
DOS Batch File  |  1993-05-09  |  1KB  |  69 lines

  1. echo off
  2. if %1a == a goto drivec
  3. if %1 == c: goto drivec
  4. if %1 == d: goto drived
  5. if %1 == C: goto drivec
  6. if %1 == D: goto drived
  7. if %1 == c goto drivec
  8. if %1 == d goto drived
  9. if %1 == C goto drivec
  10. if %1 == D goto drived
  11. goto wrong
  12.  
  13. :drivec
  14. cls
  15. echo Installing The CNC-CAD-CAM Package on drive C:
  16. md C:\cnc
  17. md C:\cnc\machine1
  18. copy cadcam.exe C:\cnc
  19. C:
  20. cd C:\cnc
  21. cadcam.exe
  22. copy temp.cnc C:\cnc\machine1
  23. copy temp.src C:\cnc\machine1
  24. copy code.dat C:\cnc\machine1
  25. copy param.dat C:\cnc\machine1
  26. del temp.cnc
  27. del temp.src
  28. del code.dat
  29. del param.dat
  30. del cadcam.exe
  31. copy cnc.bat C:\
  32. echo Done
  33. path C:\cnc;C:\cnc\machine1
  34. cd\cnc\machine1
  35. trnsedit
  36. goto outnow
  37.  
  38.  
  39. :drived
  40. cls
  41. echo Installing The CNC-CAD-CAM Package on drive D:
  42. md D:\cnc
  43. md D:\cnc\machine1
  44. copy cadcam.exe D:\cnc
  45. D:
  46. cd D:\cnc
  47. cadcam.exe
  48. copy temp.cnc D:\cnc\machine1
  49. copy temp.src D:\cnc\machine1
  50. copy code.dat D:\cnc\machine1
  51. copy param.dat D:\cnc\machine1
  52. del temp.cnc
  53. del temp.src
  54. del code.dat
  55. del param.dat
  56. del cadcam.exe
  57. copy cnc.bat D:\
  58. echo Done
  59. path D:\cnc;D:\cnc\machine1
  60. cd\cnc\machine1
  61. trnsedit
  62. goto outnow
  63.  
  64. :wrong
  65. cls
  66. echo example: INSTALL C: or INSTALL D:
  67.  
  68. :outnow
  69.