RunningTask.Path property

For scripting, gets the path to where the task is stored.

Syntax

RunningTask.Path As string

Property value

The path to where the task is stored.

Requirements

Requirement Value
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

Task Scheduler