home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
wcat21.zip
/
instwpc.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-05-16
|
997b
|
27 lines
/**********************************************************/
/* */
/* WatchCat 2.1 - Register and create WatchCat WPS object */
/* */
/* It is recommended to use INSTALL.EXE. */
/* */
/**********************************************************/
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs';
call SysLoadFuncs;
/* register WatchCat class WPCat */
result = SysRegisterObjectClass("WPCat", "WPCAT");
if result then
do
say "WPCat has been registered successfully";
/* create WatchCat WPS object on desktop */
if SysCreateObject("WPCat", "WatchCat", "<WP_DESKTOP>", "OBJECTID=<WP_CAT>")
then say "WatchCat WPS object has been created successfully.";
else say "WatchCat WPS object could not be created on desktop!";
end
else say "WatchCat class is not registered!";