home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Product / Product.zip / sm2try.zip / EHSINSTC.CMD < prev    next >
OS/2 REXX Batch file  |  1994-05-24  |  2KB  |  30 lines

  1. /*====================================================================*/
  2. /*  Name:  EHSINSTC.CMD  -  CMD file for installation                 */
  3. /*====================================================================*/
  4. /*                                                                    */
  5. /*  Licensed Materials - Property of IBM                              */
  6. /*                                                                    */
  7. /*  5621-404 (C) Copyright IBM Corp. 1993                             */
  8. /*  5622-018 (C) Copyright IBM Corp. 1993                             */
  9. /*                                                                    */
  10. /*  All rights reserved.                                              */
  11. /*  US Government Users Restricted Rights -                           */
  12. /*  Use, duplication or disclosure restricted                         */
  13. /*  by GSA ADP Schedule Contract with IBM Corp.                       */
  14. /*                                                                    */
  15. /*  See Copyright Instructions.                                       */
  16. /*                                                                    */
  17. /*====================================================================*/
  18. /* Create PROGRAM object on desktop to initialize SM/2    */
  19. /* i.e.: register SM/2 classes and create SM/2 objects.   */
  20.  
  21. arg fp dp
  22.  
  23. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  24. call SysLoadFuncs
  25.  
  26. cmdexe=fp'\EHSINMCN.CMD'
  27. objset = 'OBJECTID=<EHS_START>;EXENAME='cmdexe';ICONFILE='fp'\EHSUIFMI.ICO;PARAMETERS='fp' 'dp
  28. ok = SysCreateObject(WPProgram,'Initialize SearchManager/2','<WP_DESKTOP>',objset,'u')
  29. exit 0
  30.