home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b314 / 1.ddi / SETUP.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-04-07  |  1.4 KB  |  57 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. copy a:\lzexpand.dll c:\lzexpand.dll > nul
  34. c:
  35. command /c win c:\install.exe a:\
  36. del c:\appsetup.inf
  37. del c:\install.exe
  38. del c:\lzexpand.dll
  39. goto exitinstall
  40.  
  41. :driveb
  42. if not exist b:\appsetup.inf goto usage
  43. if not exist b:\install.exe goto usage
  44. echo:
  45. echo:Stanford Graphics Install Program...
  46. echo:
  47. copy b:\appsetup.inf c:\appsetup.inf > nul
  48. copy b:\install.exe c:\install.exe > nul
  49. copy b:\lzexpand.dll c:\lzexpand.dll > nul
  50. c:
  51. command /c win c:\install.exe b:\
  52. del c:\appsetup.inf
  53. del c:\install.exe
  54. del c:\lzexpand.dll
  55.  
  56. :exitinstall
  57.