home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 035 / ans004.zip / INSTALL.CMD < prev    next >
OS/2 REXX Batch file  |  1994-10-25  |  1KB  |  29 lines

  1. /* Install script for ANSWER.EXE */
  2. call RxFuncAdd 'SysCls', 'RexxUtil', 'SysCls'
  3. call RxFuncAdd 'SysCreateObject', 'RexxUtil', 'SysCreateObject'
  4.  
  5. currentDirectory = directory()
  6. programName = "\ANSWER.EXE"
  7. programPath = insert( currentDirectory, programName )
  8. parameters = insert( "EXENAME=", programPath )
  9.  
  10. rc = SysCreateObject("WPProgram","Answering Machine","<WP_DESKTOP>",,
  11.                 parameters, "REPLACE" )
  12.  
  13. md IN
  14. md OUT
  15. md SAVED
  16. move greeting.msg out
  17. view answer.inf
  18.  
  19. say ""
  20. say ""
  21. say " Start the Answering Machine by double clicking on the icon     "
  22. say " on the OS/2 desktop.                                           "
  23. say ""
  24. say "*****************************************************************"
  25. say "* This program is  distributed as Shareware!  You MUST register *"
  26. say "* this  product if you  continue  to  use it.   Please  see the *"
  27. say "* documentation for the complete details.                       *"
  28. say "*****************************************************************"
  29.