home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / pmcron03.zip / install.cmd < prev    next >
OS/2 REXX Batch file  |  1996-05-09  |  589b  |  19 lines

  1. /* install the Cron Daemon on the desktop */
  2. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  3. call SysLoadFuncs
  4.  
  5. path = Directory()
  6.  
  7. pathx = path
  8. if right(path,1) \= '\' then
  9.    pathx = path || '\'
  10.   else
  11.    pathx = path
  12.  
  13. if \SysCreateObject('WPProgram',                                   ,
  14.                     'Cron',                                        ,
  15.                     '<WP_DESKTOP>',                                ,
  16.                     'EXENAME='pathx'CROND.EXE;PROGTYPE=PM',      ,
  17.                     'update') then
  18.    say 'Cannot create object.'
  19.