Description This command opens or executes a file or executable and waits for completion before returning.
Syntax success = ShellExecuteAndWait( fileName, parms, showFlag )
Parameters success (Boolean) Returned boolean indicating successful completion.
fileName As String Path of the file to execute or open. This file can be an executable file (ex. *.exe or *.bat) or any type of file for which there is an associated application (ex. *.html or *.pdf).
parms As String Parameter string to pass to the executable (can be empty string "").
showFlag As Boolean Indicates whether to show (True) or hide (False) the window of the program being executed.
See Also
|