home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
inetlg71.zip
/
INETINST.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-02-09
|
868b
|
32 lines
/* Install INETLOG on the desktop */
Trace 'N'
Parse Source . . ourname .
ourdir = Strip(Filespec('D', ourname) || Filespec('P', ourname), 'T', '\')
classname = 'WPProgram'
location = '<WP_DESKTOP>'
title = 'Dialer Log^Analyzer'
obj = 'OBJECTID=<INetLog>;'
iconfile = 'ICONFILE=' || ourdir || '\INETLOG.ICO;ICONPOS=45 45;'
exename = 'EXENAME=' || ourdir || '\INETLOG.CMD;'
startupdir = 'STARTUPDIR=' || ourdir || ';'
setup = obj || iconfile || exename || startupdir
If Rxfuncquery('SysDropFuncs') Then
Do
Call Rxfuncadd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
Call SysLoadFuncs
End
If SysCreateObject(classname,title,location,setup,'U') Then
Do
Say 'INETLOG object created successfully'
rc = SysMkDir(ourdir || '\DATA')
End
Else
Say 'INETLOG object creation unsuccessful'
Call INetCfg
Exit