ExecAction.Path property

For scripting, gets or sets the path to an executable file.

Syntax


ExecAction.Path As String

Property value

The path to the executable file to be run by the action.

Remarks

This action performs a command-line operation. For example, the action could run a script or launch an executable.

When reading or writing XML, the command-line operation path is specified in the Command 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: