home *** CD-ROM | disk | FTP | other *** search
/ Software One-Stop 3 / BOOTCDROM.iso / install / s968win / generic / install.bat next >
Encoding:
DOS Batch File  |  1995-02-23  |  1019 b   |  41 lines

  1. @echo off
  2. echo Generic CAD Driver Installation
  3. if %1x == x goto usg
  4. if %2x == x goto usg
  5. if not exist %1\lzcopy.exe goto insdk
  6. if exist %2\cadd.exe goto do1
  7. if exist %2\gcadd.exe goto do1
  8. if exist %2\3dd.exe goto do2
  9. goto usg2
  10. :do1
  11. %1\lzcopy.exe %1\generic\lgen6s3.vg_ %2\lgen6s3.vgd
  12. %1\lzcopy.exe %1\generic\sgen6s3.vg_ %2\sgen6s3.vgd
  13. if exist %2\config.exe goto st1
  14. if exist %2\config.com goto st1
  15. if exist %2\config.bat goto st1
  16. goto err1
  17. :st1
  18. %2\config
  19. goto theend
  20. :do2
  21. %1\lzcopy.exe %1\generic\lgen6s3.vg_ %2\lgen6s3.vgd
  22. %1\lzcopy.exe %1\generic\sgen6s3.vg_ %2\sgen6s3.vgd
  23. if exist %2\3dconfig.exe goto setup2
  24. if exist %2\3dconfig.com goto setup2
  25. if exist %2\3dconfig.bat goto setup2
  26. goto err1
  27. :setup2
  28. %2\3dconfig
  29. goto theend
  30. :insdk
  31. echo Please insert the Utilities and Drivers Diskette
  32. goto usg
  33. :err1
  34. echo Cannot configure Generic CAD
  35. goto theend
  36. :usg2
  37. echo Cannot find Generic CAD in the directory %2
  38. :usg
  39. echo [Usage]: INSTALL [Source Drive:] [Target Directory]
  40. :theend
  41.