home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 21 PDrivers / 21-PDrivers.zip / OS2PCL5.zip / setup.cmd < prev   
OS/2 REXX Batch file  |  1994-03-04  |  1KB  |  37 lines

  1. @echo off
  2. echo SETUP is building your device driver files.....please wait......
  3. if not exist PCL5D.EA goto err1
  4. if not exist PCL5H.EA goto err1
  5. if not exist PCL5F.EA goto err1
  6. if not exist PCL5D.NEA goto err1
  7. ren PCL5D.NEA IBMPCL5.DRV
  8. if not exist PCL5H.NEA goto err1
  9. ren PCL5H.NEA IBMPCL5.HLP
  10. if not exist PCL5F.NEA goto err1
  11. ren PCL5F.NEA PCL5_FCF.DLL
  12. echo.
  13. echo.
  14. echo When SETUP completes, follow the installation instructions in Part III
  15. echo of README.1ST, or you will experience printing problems!
  16. echo.
  17. echo.
  18. eautil IBMPCL5.DRV PCL5D.EA /j
  19. if errorlevel 4 goto err2
  20. if errorlevel 1 goto err1
  21. eautil IBMPCL5.HLP PCL5H.EA /j
  22. if errorlevel 4 goto err2
  23. if errorlevel 1 goto err1
  24. eautil PCL5_FCF.DLL PCL5F.EA /j
  25. if errorlevel 4 goto err2
  26. if errorlevel 1 goto err1
  27. echo.
  28. echo SETUP has completed successfully.  You may go on to Part III of the
  29. echo installation instructions.
  30. goto getout
  31. :err1
  32. echo Error! Setup has failed to complete. A file is missing.
  33. goto getout
  34. :err2
  35. echo Error! Setup has failed to complete. An error occurred.
  36. :getout
  37.