home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / 4216AES.ZIP / INSTALL.CMD < prev    next >
OS/2 REXX Batch file  |  1990-05-03  |  846b  |  30 lines

  1. @echo off
  2. if %1. == . goto help
  3. if %1  == ? goto help
  4. %1
  5. cd \
  6. version.exe
  7. rem if errorlevel 3 echo start /pm "Intall Program" insv12p.exe
  8. if errorlevel 3 start /pm "Intall Program" insv12p.exe %2 %3 %4 %5
  9. if errorlevel 3 goto exit
  10. rem if errorlevel 2 echo start /pm "Intall Program" insv12p.exe
  11. if errorlevel 2 start /pm "Intall Program" insv12p.exe %2 %3 %4 %5
  12. if errorlevel 2 goto exit
  13. rem if errorlevel 1 echo start /pm "Intall Program" insv11.exe
  14. if errorlevel 1 start /pm "Intall Program" insv11.exe  %2 %3 %4 %5
  15. if errorlevel 1 goto exit
  16. goto exit
  17. :help
  18. echo The syntax is   INSTALL n:
  19. echo .  where n is the letter of the diskette drive
  20. echo .  containing the install diskette.
  21. echo .
  22. echo .  For example if you diskette is in the A: drive enter
  23. echo .
  24. echo .      INSTALL A:
  25. echo .
  26. goto quit
  27. :exit
  28. exit
  29. :quit
  30.