_Exec (Windows CE 5.0)
This function runs an executable (.exe) file.
void _Exec( BSTR FileName, BSTR CommandLine, short Flag);
Parameters
- FileName
Name of the executable file. - CommandLine
Optional. Command line to pass to the executable file. - Flag
Optional. If a nonzero value is specified, execution of the script is delayed. If the value of this parameter is not specified or is equal to zero, then execution of the script continues after running the executable file specified by the FileName parameter.
Remarks
You can call this function from a script that Cescript.exe executes.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
See Also
Scripting Host Functions | Scripting Host Tool
Send Feedback on this topic to the authors