Back to Devexpress

JumpListItemTask.WorkingDirectory Property

windowsforms-devexpress-dot-utils-dot-taskbar-dot-jumplistitemtask-9030bca3.md

latest2.7 KB
Original Source

JumpListItemTask.WorkingDirectory Property

Gets or sets the current directory for a process launched with a click on the current task.

Namespace : DevExpress.Utils.Taskbar

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue("")]
[DXCategory("Behavior")]
public string WorkingDirectory { get; set; }
vb
<DefaultValue("")>
<DXCategory("Behavior")>
Public Property WorkingDirectory As String

Property Value

TypeDefaultDescription
StringString.Empty

The current directory for a process that is launched with a click on the JumpListItemTask.

|

Remarks

The JumpListItemTask.Path property allows you to specify the path to a file that an end-user launches with a click on the current task. This can be a path to a command or executable file, or a path to a file that can be opened with the associated application. However, with a click on the current task, an external program (process) is launched.

Each process maintains a current directory, which can also be referred to as a working directory. The application resolves relative paths to full paths based on the working directory. For instance, if a process refers to the Example1.txt file, and the current directory of the process is C:\My examples, the full path is C:\My examples\Example1.txt. Certain applications require a working directory for their internal needs. For instance, to store temporary files, get external resources, etc. Typically, the directory of the launched file is used as a current directory. You can use the WorkingDirectory property to specify a custom working directory for the process launched by the current task.

See Also

Path

Arguments

JumpListItemTask Class

JumpListItemTask Members

DevExpress.Utils.Taskbar Namespace