home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
INVOKE11.ZIP
/
INVOKE.DOC
next >
Wrap
Text File
|
1991-06-06
|
2KB
|
63 lines
NAME
INVOKE V1.10 (6 June 1991) by Jeff Trawick
invoke a program using the drag-and-drop protocol
supported by the OS/2 1.2 and 1.3 File Manager
DESCRIPTION
INVOKE runs as a PM icon.
When the user "drags and drops" selected items to
its icon, INVOKE executes a specified program with
the dragged items as the parameters.
Users that need to pass additional parameters to the
invoked program can instead invoke REXX programs that
run the desired program with appropriate parameters.
For compatibility with both HPFS filenames (which
can include spaces) and old programs, INVOKE will
insert quotation marks around the filenames if and
only if the filename includes spaces.
SYNOPSIS
INVOKE <program to invoke> [<title string>] [/S]
<program to invoke>
This is the name of a program to run when parameters
are provided to INVOKE. It must either include an
explicit path or must be in a directory named in the
PATH environment variable.
<title string>
This is the title given to INVOKE's icon and task list
entry. It must be enclosed in quotation marks if
spaces are embedded within it.
/S
This specifies that when multiple files are dragged
and dropped, the specified program will be run
separately (and asynchronously) for each parameter.
The default is for the program to be run once with
all of the files dropped as the command line.
This option can be specified anywhere on the command
line.
EXAMPLES
invoke d:\bin\rm.exe "Trash Can"
invoke pr "Program Listing" /S
invoke c:\showargs "Show Parameters"
CHANGES SINCE INVOKE V1.00
See file "INVOKE.NEW" in this package.