WorkingDirectory (execType) Element

Specifies the directory where either the executable or those files used by the executable exists.

<xs:element name="WorkingDirectory"
    type="pathType"
 />

The WorkingDirectory element is defined by the execType complex type.

Parent element

ElementDerived fromDescription
Exec execType

Specifies an action that executes a command-line operation.

Remarks

For script development, the working directory is specified by the ExecAction.WorkingDirectory property.

For C++ development, the working directory is specified by the IExecAction::WorkingDirectory property.

Examples

The following XML defines a execution action.


<Exec>
    <Command></Command>
    <Arguments></Arguments>
    <WorkingDirectory></WorkingDirectory>
</ServiceResume>

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements
Task Scheduler

 

 

Show: