home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / keyb-pl.zip / install.cmd < prev    next >
OS/2 REXX Batch file  |  1995-10-17  |  891b  |  22 lines

  1. @echo off
  2. set CDRIVE=%2
  3. if not '%2.' == '.' goto OkCDrive
  4. set CDRIVE=C:
  5. :OkCDrive
  6. set ADRIVE=%1
  7. if not '%1.' == '.' goto OkADrive
  8. set ADRIVE=
  9. :OkADrive
  10. rem 1
  11. if not exist %CDRIVE%\os2\keyboard.dc3     ren %CDRIVE%\os2\keyboard.dcp     keyboard.dc3
  12. if not exist %CDRIVE%\os2\boot\kbdbase.sy3 ren %CDRIVE%\os2\boot\kbdbase.sys kbdbase.sy3
  13. if not exist %CDRIVE%\os2\dll\pmmerge.dl3  ren %CDRIVE%\os2\dll\pmmerge.dll  pmmerge.dl3
  14. if not exist %CDRIVE%\os2\mdos\doskrnl.3   ren %CDRIVE%\os2\mdos\doskrnl     doskrnl.3
  15. if not exist %CDRIVE%\os2\keyb.co3         ren %CDRIVE%\os2\keyb.com         keyb.co3
  16. if not exist %CDRIVE%\os2\mdos\vkbd.sy3    ren %CDRIVE%\os2\mdos\vkbd.sys    vkbd.sy3
  17. rem 1
  18. %ADRIVE%pkunzip2 -o -d %ADRIVE%plprg %CDRIVE%
  19. rem
  20. echo           End of installation, please update the CONFIG.SYS
  21. echo             following the instructions in the READ.ME file
  22.