ShellExecuteEx

Syntax

ShellExecuteEx,<Action>,<Filename>[,Parameters][,StartDir]

This function will launch a file using the settings you specify.

The script will NOT wait (pause) for the launched file or application to be closed before continuing to process the remaining commands.

Example:

In this example we can open an exporer window and pass in the name of the folder to open and do not wait for the executable to finish.

ShellExecuteEx,Open,explorer.exe,/e#$c#$q%OpenFolder%#$q,%OpenFolder%

See Also