



    NAME



	INVOKE	V1.00 (19 May 1991)



		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.



                /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"

