execType Complex Type

Defines the child elements and sequencing information of the Exec (actionGroup) element.

<xs:complexType name="execType">
    <xs:complexContent>
        <xs:extension
            base="actionBaseType"
        >
            <xs:all>
                <xs:element name="Command"
                    type="pathType"
                 />
                <xs:element name="Arguments"
                    type="string"
                    minOccurs="0"
                 />
                <xs:element name="WorkingDirectory"
                    type="pathType"
                    minOccurs="0"
                 />
            </xs:all>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

Child elements

Element Type Description
Arguments string Specifies the arguments associated with the command-line operation.
Command pathType Specifies the executable file or document to be run.
WorkingDirectory pathType Specifies the directory where either the executable or those files used by the executable exists.

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 Complex Types

Task Scheduler