Command (execType) Element

Specifies the executable file or document to be run.

<xs:element name="Command"

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.


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

For script development, see ExecAction.Arguments.


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


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