ShellExecuteDelete

Syntax

ShellExecuteDelete,<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. After it has been finished, WinBuilder will delete the application .

Example:

In this example we run a hidden executable, and delete it after it completes

ShellExecuteDelete,hide,foo.exe 

See Also