Skip to content

Latest commit

 

History

History
89 lines (51 loc) · 2.31 KB

taskschedulerschema-workingdirectory-exectype-element.md

File metadata and controls

89 lines (51 loc) · 2.31 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
WorkingDirectory (execType) Element
Specifies the directory where either the executable or those files used by the executable exists.
09e53748-6d21-42df-bbdd-f0fd9693aab0
WorkingDirectory element Task Scheduler
apiref
WorkingDirectory
Schema
reference
05/31/2018

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

Element Derived from Description
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

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

Task Scheduler