Редагувати

Поділитися через


Command (execType) Element

Specifies the executable file or document to be run.

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

The Command element is defined by the execType complex type.

Parent element

Element Derived from Description
Exec execType Specifies an action that executes a command-line operation.

Remarks

For C++ development, see the Arguments property of IExecAction.

For script development, see ExecAction.Arguments.

Examples

For a complete example of the XML for a task that uses an executable action, see Time Trigger Example (XML).

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements