home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 21 PDrivers / 21-PDrivers.zip / AESVER21.ZIP / UPDATE.CMD < prev   
OS/2 REXX Batch file  |  1991-08-05  |  2KB  |  33 lines

  1. @echo off
  2. if %1. == ?. goto help
  3. if %1.== . goto help
  4. if NOT EXIST %1\AES\VER12\4019AES.EXE goto exit1
  5. if NOT EXIST 4019AES.EXE goto exit2
  6. @echo Copying 4019AES.EXE to Drive %1 ......
  7. copy 4019AES.EXE %1\AES\VER12 /b
  8. @echo Copying 4019AES.MSG to Drive %1 ......
  9. copy 4019AES.MSG %1\AES\VER12 /b
  10. @echo Copying INSTOS2.EXE to Drive %1 ......
  11. copy INSTOS2.EXE %1\ /b
  12. @echo The update process is complete.
  13. @echo You can now install OS/2 AES by entering: SETUP %1
  14. goto exit
  15. :exit1
  16. @echo The Diskette in Drive %1 is not a IBM 4019 Supplemental Utilities Diskette. Try Again.
  17. goto exit
  18. :exit2
  19. @echo The current directory does not contain the update files. Please place all files in the same subdirectory on your hard drive, then execute this command file from that subdirectory.
  20. goto exit
  21. :help
  22. @echo ....................................................................
  23. @echo Updates OS/2 AES Version 2.0 or 2.01 to 2.1 (Adds Support for OS/2 2.0)
  24. @echo This CMD file updates an IBM 4019 Supplemental Utilities Diskette with this newer version of the OS/2 AES utility. The Utilities Diskette must be placed in the diskette drive as specified on invokation of this command file. Be sure to temporarily bypass the write protection on the Supplemental Utilities Diskette before performing this update process.
  25. @echo ....................................................................
  26. @echo This CMD file must exist on a hard drive on the same directory as the following 3 files: 4019AES.EXE, 4019AES.MSG, and INSTOS2.EXE
  27. @echo ....................................................................  
  28. @echo Syntax = update driveletter:
  29. @echo ....................................................................
  30. @echo Example: update a: .... Updates a diskette in the A: Drive
  31. @echo OR
  32. @echo Example: update b: .... Updates a diskette in the B: Drive 
  33. :exit