home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
udos2cpp.zip
/
UPDATE.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1995-02-06
|
978b
|
25 lines
@echo off
rem UPDATE.CMD Installs latest updates to KASE:C++ for OS/2, v2.1
rem Syntax: UPDATE [KASEdrive=%1]
if "%1" == "" echo Usage: UPDATE x: (where x: is the drive containing KASECPP)&&goto end
if "%1" == "?" echo Usage: UPDATE x: (where x: is the drive containing KASECPP)&&goto end
if "%1" == "/?" echo Usage: UPDATE x: (where x: is the drive containing KASECPP)&&goto end
if not exist %1\KASECPP echo ERROR - %1\KASECPP directory not found!&&goto end
if exist %1\KASECPP\KNB\CPP\*.SMB del %1\KASECPP\KNB\CPP\*.SMB
VERIFY ON
@echo.
echo ***Now updating the Knowledge Bases***
unzip -oC knbcpp -d%1\KASECPP\KNB\CPP
@echo.
echo ***Now updating the DLLs***
unzip -oC dllcpp -d%1\KASECPP
@echo.
echo ***Now updating KWCLASS
unzip -oC kwclass -d%1\KASECPP\KWCLASS
copy %1\KASECPP\KWCLASS\KWCLASS.DLL %1\KASECPP
del %1\KASECPP\KWCLASS\KWCLASS.DLL
@echo.
echo ***Update Completed.***
:END
rem What're you looking here for? Go away! ;)