adTempus API
ArcanaDevelopment.adTempus.Client Namespace / ProgramExecutionTask Class / ExecutionTarget Property


In This Topic
    ExecutionTarget Property
    In This Topic
    The program, script, batch file, etc., to execute.
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Property ExecutionTarget As String
    [CanBeNull()]
    public string ExecutionTarget {get; set;}
    [CanBeNull()]
    public:
    property String^ ExecutionTarget {
       String^ get();
       void set (    String^ value);
    }
    Remarks

    Specify the full path and name of the process, script, batch file, etc., to execute, e.g., c:\program files\my files\someprogram.exe.

    If no path is included, Windows will search for the target using the Path environment variable in effect for the user whose account the job runs under.

    Do not include quotes around the ExecutionTarget, even if it contains spaces. Do not include command-line parameters: those must be specified in CommandLineParameters.

    To run a batch file that is stored within adTempus, set the BatchScript. ExecutionTarget is then ignored.
    See Also