home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / INVOKE11.ZIP / INVOKE.DOC next >
Text File  |  1991-06-06  |  2KB  |  63 lines

  1.  
  2.  
  3.     NAME
  4.  
  5.     INVOKE    V1.10 (6 June 1991) by Jeff Trawick
  6.  
  7.         invoke a program using the drag-and-drop protocol 
  8.         supported by the OS/2 1.2 and 1.3 File Manager
  9.  
  10.     DESCRIPTION
  11.  
  12.         INVOKE runs as a PM icon.  
  13.  
  14.         When the user "drags and drops" selected items to
  15.         its icon, INVOKE executes a specified program with
  16.         the dragged items as the parameters.
  17.  
  18.         Users that need to pass additional parameters to the 
  19.         invoked program can instead invoke REXX programs that 
  20.         run the desired program with appropriate parameters.
  21.  
  22.         For compatibility with both HPFS filenames (which
  23.         can include spaces) and old programs, INVOKE will
  24.         insert quotation marks around the filenames if and
  25.         only if the filename includes spaces.
  26.  
  27.     SYNOPSIS
  28.  
  29.     INVOKE <program to invoke> [<title string>] [/S]
  30.  
  31.         <program to invoke>
  32.         This is the name of a program to run when parameters
  33.         are provided to INVOKE.  It must either include an
  34.         explicit path or must be in a directory named in the
  35.         PATH environment variable.
  36.  
  37.         <title string>
  38.         This is the title given to INVOKE's icon and task list
  39.         entry.  It must be enclosed in quotation marks if 
  40.         spaces are embedded within it.
  41.  
  42.                 /S
  43.         This specifies that when multiple files are dragged
  44.         and dropped, the specified program will be run
  45.         separately (and asynchronously) for each parameter.
  46.         The default is for the program to be run once with
  47.         all of the files dropped as the command line.
  48.  
  49.         This option can be specified anywhere on the command
  50.         line.
  51.  
  52.     EXAMPLES
  53.  
  54.     invoke d:\bin\rm.exe "Trash Can"
  55.  
  56.     invoke pr "Program Listing" /S
  57.  
  58.     invoke c:\showargs "Show Parameters"
  59.  
  60.     CHANGES SINCE INVOKE V1.00
  61.  
  62.     See file "INVOKE.NEW" in this package.
  63.