home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b313 / 1.ddi / SETUP.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-01-29  |  1.2 KB  |  53 lines

  1. @echo off
  2. if %0 == a:\setup goto drivea
  3. if %0 == a:setup goto drivea
  4. if %0 == A:\SETUP goto drivea
  5. if %0 == A:SETUP goto drivea
  6. if %0 == b:\setup goto driveb
  7. if %0 == b:setup goto driveb
  8. if %0 == B:\SETUP goto driveb
  9. if %0 == B:SETUP goto driveb
  10.  
  11. :usage
  12. echo:To install Stanford Graphics:
  13. echo:
  14. echo:      1) Start from the C: drive and
  15. echo:     2a) Place the disk labeled INSTALLATION DISK in drive A: 
  16. echo:         and type A:\SETUP
  17. echo:
  18. echo:     or,
  19. echo:
  20. echo:     2b) Place the disk labeled INSTALLATION DISK in drive B: 
  21. echo:         and type B:\SETUP
  22. echo:
  23. goto exitinstall
  24.  
  25. :drivea
  26. if not exist a:\appsetup.inf goto usage
  27. if not exist a:\install.exe goto usage
  28. echo:
  29. echo:Stanford Graphics Install Program...
  30. echo:
  31. copy a:\appsetup.inf c:\appsetup.inf > nul
  32. copy a:\install.exe c:\install.exe > nul
  33. c:
  34. command /c win c:\install.exe a:\
  35. del c:\appsetup.inf
  36. del c:\install.exe
  37. goto exitinstall
  38.  
  39. :driveb
  40. if not exist b:\appsetup.inf goto usage
  41. if not exist b:\install.exe goto usage
  42. echo:
  43. echo:Stanford Graphics Install Program...
  44. echo:
  45. copy b:\appsetup.inf c:\appsetup.inf > nul
  46. copy b:\install.exe c:\install.exe > nul
  47. c:
  48. command /c win c:\install.exe b:\
  49. del c:\appsetup.inf
  50. del c:\install.exe
  51.  
  52. :exitinstall
  53.