ExecAction.WorkingDirectory property

For scripting, gets or sets the directory that contains either the executable file or the files that are used by the executable file.

Syntax


ExecAction.WorkingDirectory As String

Property value

The directory that contains either the executable file or the files that are used by the executable file.

Remarks

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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Type library

Taskschd.tlb

DLL

Taskschd.dll

See also

ExecAction
Task Scheduler

 

 

Show: