home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
we025.zip
/
REMOVE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-03-29
|
2KB
|
49 lines
/************************************************************************/
/* */
/* Program name: REMOVE.CMD -- Removes WPS Helper Class */
/* Title: WarpEnhancer */
/* PM Utility to give some missing */
/* features to OS/2 users */
/* */
/* Version: pre-Release 0.17 */
/* Created: 23.03.97 */
/* Last Modified: 23.03.97 */
/* */
/* Author: Achim Hasenmueller */
/* */
/* Copyright 1996,97 by InnoTek Systemberatung. All rights reserved */
/* */
/************************************************************************/
/* load rexxutil library function */
Call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
Call SysLoadFuncs
SAY "************************************************"
SAY "* REMOVING WPS HELPER CLASS OF WARP ENHANCER *"
SAY "************************************************"
SAY
if SysDestroyObject("<WE_WPSHELPER>") = 1 then
SAY "WPS Helper Object was deleted"
else SAY "WPS Helper Object could not be deleted"
call SysDeregisterObjectClass "WEWPS"
SAY
/* query OS/2 boot drive from environment variable */
BootDrive = SUBSTR(VALUE('SYSTEM_INI',,'OS2ENVIRONMENT'), 1, 2)
WEWPSFile = BootDrive'\OS2\DLL\WEWPS.DLL'
if SysFileDelete(WEWPSFile) = 0 then
SAY "WPS Helper Class File was deleted"
else SAY "Error deleting WPS Helper Class File"
exit