home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / patches / os2_20 / kernel / fixkrnl.cmd < prev    next >
Encoding:
Text File  |  1992-09-29  |  772 b   |  23 lines

  1. @ECHO OFF
  2. IF "%1" == "" GOTO DOHELP
  3. IF "%2" == "" GOTO DOHELP
  4. IF EXIST %1\OS2KRNL.OLD DEL %1\OS2KRNL.OLD
  5. %2\CHMODE -hsar %1\OS2KRNL
  6. RENAME %1\OS2KRNL OS2KRNL.OLD
  7. COPY %2\OS2KRNL %1\OS2KRNL
  8. %2\CHMODE +hsar %1\OS2KRNL
  9. COPY %1\OS2\INSTALL\INSTALL.LOG+%2\APAR.NUM %1\OS2\INSTALL\INSTALL.LOG
  10. goto doexit
  11. :DOHELP
  12. @ECHO ON
  13. @ECHO   Error: You must furnish the 2.0 boot drive letter
  14. @ECHO          and the drive letter where fixes are located.
  15. @ECHO   Syntax: APAR# X: Y:
  16. @ECHO           where:
  17. @ECHO                 X: = drive letter of disk 2.0 is installed on
  18. @ECHO                 Y: = drive letter of disk where fixes are located
  19. @ECHO                      (specify subdirectory name if fixes are in a
  20. @ECHO                       subdirectory)
  21.  
  22. :doexit
  23.