home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: InfoMgt
/
InfoMgt.zip
/
jot15.zip
/
install.cmd
next >
Wrap
OS/2 REXX Batch file
|
1996-01-14
|
613b
|
24 lines
/* Install Jot to desktop */
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
call SysFileTree "Jot.exe", "exedir.", "FO"
PathandProg = ExeDir.1
InstallDir = Directory()
say 'Installing Jot from ' || Installdir || ' to desktop'
rc = SysCreateObject('WPProgram','Jot',,
'<WP_DESKTOP>',,
'EXENAME=' || PathandProg || ';' ||,
'STARTUPDIR=' || InstallDir || ';',,
'ReplaceIfExists')
if rc = 1 then
say Jot successfully installed
else
say Unable to install Jot to desktop