home *** CD-ROM | disk | FTP | other *** search
/ Computerworld 1996 April / Computerworld_1996-04_cd.bin / ibm / programy / mpegplay / install.cmd next >
Encoding:
Text File  |  1994-04-11  |  422 b   |  12 lines

  1. /* Code    */
  2. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  3. call SysLoadFuncs
  4. /* '@echo off' */
  5. PMMPEGPATH = DIRECTORY()
  6. if SysCreateObject("WPProgram","PMMPEG","<WP_DESKTOP>",,
  7.                    "PROGTYPE=PM;EXENAME="PMMPEGPATH"\PMMPEG.EXE;STARTUPDIR="PMMPEGPATH";ASSOCFILTER=*.MPG")
  8. then
  9.     say 'PMMPEG Object installed on Desktop'
  10. else
  11.     say 'PMMPEG couldn''t install object on the Desktop'
  12.