home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 29 Fixes_o / 29-Fixes_o.zip / udos2cpp.zip / UPDATE.CMD < prev   
OS/2 REXX Batch file  |  1995-02-06  |  978b  |  25 lines

  1. @echo off
  2. rem UPDATE.CMD   Installs latest updates to KASE:C++ for OS/2, v2.1
  3. rem Syntax:  UPDATE [KASEdrive=%1]
  4. if "%1" == "" echo Usage: UPDATE x: (where x: is the drive containing KASECPP)&&goto end
  5. if "%1" == "?" echo Usage: UPDATE x: (where x: is the drive containing KASECPP)&&goto end
  6. if "%1" == "/?" echo Usage: UPDATE x: (where x: is the drive containing KASECPP)&&goto end
  7. if not exist %1\KASECPP echo ERROR - %1\KASECPP directory not found!&&goto end
  8. if exist %1\KASECPP\KNB\CPP\*.SMB del %1\KASECPP\KNB\CPP\*.SMB
  9. VERIFY ON
  10. @echo.
  11. echo   ***Now updating the Knowledge Bases***
  12. unzip -oC knbcpp -d%1\KASECPP\KNB\CPP
  13. @echo.
  14. echo   ***Now updating the DLLs***
  15. unzip -oC dllcpp -d%1\KASECPP
  16. @echo.
  17. echo   ***Now updating KWCLASS
  18. unzip -oC kwclass -d%1\KASECPP\KWCLASS
  19. copy %1\KASECPP\KWCLASS\KWCLASS.DLL %1\KASECPP
  20. del %1\KASECPP\KWCLASS\KWCLASS.DLL
  21. @echo.
  22. echo   ***Update Completed.***
  23. :END
  24. rem What're you looking here for?  Go away!   ;)
  25.