home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
trashcan.zip
/
uninst.cmd
< prev
Wrap
OS/2 REXX Batch file
|
1995-08-26
|
600b
|
28 lines
/*
* Uninstall WPTrashcan
* (c) Henicke, Andreas 1995 Rostock
*/
parse arg arglist .
call rxfuncadd 'sysloadfuncs','rexxutil','sysloadfuncs'
call sysloadfuncs
/* search WPTrashCan library */
dllpath=''
call sysqueryclasslist list.
do i=1 to list.0
parse value list.i with class file
if class='WPTrashCan' then dllpath=file
end
if dllpath='' then exit
/* destroy object <TRASHCAN> and unregister class WPTrashCan */
call sysdestroyobject '<TRASHCAN>'
call sysderegisterobjectclass 'WPTrashCan'
/* remove WPTrashCan library */
call sysfiledelete dllpath
exit