home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 7 Games
/
07-Games.zip
/
botsos2.zip
/
install.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1999-02-18
|
636b
|
24 lines
/* setup program icon on OS/2 desktop */
If(RxFuncQuery("SysCreateObject") != 0) Then
rc = RxFuncAdd("SysCreateObject", "RexxUtil", "SysCreateObject")
If(RxFuncQuery("SysSearchPath") != 0) Then
rc = RxFuncAdd("SysSearchPath", "RexxUtil", "SysSearchPath")
x=directory()
s=x||'\bots.exe'
params = "OBJECTID=<bots>;EXENAME=" || s || ";PROGTYPE=PM;STARTUPDIR="||x,
|| ";PARAMETERS=-mcd -mi128000"
rc = SysCreateObject("WPProgram", "Bots", "<WP_DESKTOP>", params, "R")
If(rc = 0) Then
Do
Say "unable to create program icon"
Say ""
end
else
rc = SysSetObjectData("<bots>","ICONFILE=.\BOTS.ICO")