Sub Execute($program As String, $param As String)


Executes the application specified in $program.


$param contains the parameters that are passed to the application specified in $program.


Parameters


  • $program ... String expression that specifies the absolute path and file name of the program to execute.
  • $param ... String expression that specifies the command line parameters.


Example:

Execute("c:\test\alert.exe", "")