Gets or sets the directory that contains either the executable file or the files that are used by the executable file.
This property is read/write.
HRESULT get_WorkingDirectory( BSTR *pWorkingDirectory );
When reading or writing XML, the working directory of the application is specified in the WorkingDirectory element of the Task Scheduler schema.
The path is checked to make sure it is valid when the task is registered, not when this property is set.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|