home *** CD-ROM | disk | FTP | other *** search
/ Media Gallery 1995 July / MG_0795.ISO / spea / install / stplus / os2 / install.cmd < prev    next >
OS/2 REXX Batch file  |  1994-06-10  |  565b  |  29 lines

  1. @echo off
  2. if .%1==. goto SHOWUSAGE
  3. IF .%2==. goto SHOWUSAGE
  4.  
  5. goto ONEPARAM
  6.  
  7. copy %1\tsengw32.DSC %2\OS2\INSTALL\tsengw32.DSC
  8. copy %1\vmode.com %2\os2
  9. dspinstl
  10. goto LASTEXIT
  11.  
  12. :ONEPARAM
  13. if not exist %1\tsengw32.DSC GOTO SHOWUSAGE
  14. if not exist %2\OS2\INSTALL\DSPINSTL.EXE GOTO SHOWUSAGE
  15.  
  16. copy %1\tsengw32.DSC %2\OS2\INSTALL\tsengw32.DSC
  17. dspinstl
  18. goto LASTEXIT
  19.  
  20. :SHOWUSAGE
  21. echo Usage: INSTALL A: C:
  22. echo Where A: is the drive with the Tseng Installation Diskette.
  23. echo and C: is the drive where OS/2 is installed.
  24.  
  25. goto LASTEXIT
  26.  
  27. :LASTEXIT
  28.  
  29.