ShellExecute

Syntax

ShellExecute,<Action>,<Filename>[,Parameters][,StartDir],[%ExitCode%]

This function will launch a file using the settings you specify. WinBuilder will 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 a new console window (cmd.exe)

ShellExecute,open,cmd.exe 

See Also