home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
OS2
/
SYSTEEM
/
CIDSETUP
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-07-09
|
1KB
|
46 lines
/****************************************************************/
/* INSTALL.CMD REXX Program to install CIDSETUP object */
/* */
/****************************************************************/
/* Load REXXUTIL functions */
call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
call sysloadfuncs
curdir = directory()
/* Add the CIDSETUP Program Object */
classname='WPProgram'
title= 'CIDSETUP'
location= '<WP_DESKTOP>'
setup= 'OBJECTID=<CIDSETUP>;'||,
'EXENAME='curdir'\cidsetup.exe;'||,
'ICONFILE='curdir'\cidsetup.ico;'
call BuildObject
exit
/****************************************************************/
/* SUBROUTINES */
/****************************************************************/
/* Build Object Procedure */
BuildObject:
result = SysCreateObject(classname, title, location, setup, 'f')
if result = 1 then
say 'Successful!! 'title 'has been created!'
else
say 'NOT! Failed to create 'title'. Return code is 'result
Return