home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Science
/
Science.zip
/
pmwth134.zip
/
install.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-03-27
|
913b
|
29 lines
/* Rexx by: David DuPre */
/* INSTALL.CMD */
/* Recreate the Weather Robo Icon if it is accidentally deleted */
parse source one two w3
current=directory() /* Thanks to:Duane A. Chamblee 1/17/96 */
tgtdrv = substr(w3,1,2)
option = "update"
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
/* add the Weather Robo ICON */
Classname= 'WPProgram'
Title = 'WEATHER from the Internet'
Location = '<WP_DESKTOP>'
Setup = 'EXENAME='current'\PMWEATHR.EXE;OBJECTID=<PMWTHR>;STARTUPDIR='current';ICONFILE='current'\PMWEATHR.ICO'
result=SysCreateObject(classname,Title,Location,Setup,option)
Classname= 'WPProgram'
Title = 'Weather Robot'
Location = '<WP_DESKTOP>'
Setup = 'EXENAME='current'\Wthrrobo.EXE;OBJECTID=<WthrRobo>;STARTUPDIR='current';ICONFILE='current'\WthrRobo.ICO'
result=SysCreateObject(classname,Title,Location,Setup,option)
RETURN 0