Run

Executes a program.

Parameters
CommandStr
Name of program executable and any command line arguments to run.
Returns
0 for success; or a non-zero error code. Refer to Error codes for a complete listing of error code descriptions.
Example
Set bzhao = CreateObject( "BZWhll.WhllObj" )
bzhao.Run "C:\BlueZone\Bzmd.Exe /s2 /fsystem2.zmd"
bzhao.Pause 7
ResultCode = bzhao.Connect "A"
If ( ResultCode = 0 ) Then
  'interact with host
End If
bzhao.CloseSession 0, 2
bzhao.Run "Calc"