home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / viewz2.zip / INSTALL.CMD < prev    next >
OS/2 REXX Batch file  |  1993-07-29  |  597b  |  18 lines

  1. /* rexx cmd file to install Viewz on the deskop */
  2. /* files are installed in C:\OS2\APPS */
  3.  
  4. call rxfuncadd 'sysloadfuncs', 'rexxutil', 'sysloadfuncs'
  5. call sysloadfuncs                /* register system functions */
  6. address cmd '@echo off'          /* echo is turned off */
  7.  
  8. 'COPY VIEWZ.CMD C:\OS2\APPS'
  9. 'COPY VIEWZ.ICO C:\OS2\APPS'
  10.  
  11. Settings = 'EXENAME=C:\OS2\APPS\VIEWZ.CMD;PROGTYPE=PM;MINIMIZED=YES;'
  12. Settings = Settings||'ICONFILE=C:\OS2\APPS\VIEWZ.ICO;'
  13. rc=SysCreateObject('WPProgram','Viewz','<WP_DESKTOP>',Settings);
  14.  
  15. if rc = 1 then Say "Viewz installed on desktop"
  16. Exit
  17.  
  18.