windowsforms-devexpress-dot-utils-dot-taskbar-dot-jumplistitemtask-9030bca3.md
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
[DefaultValue("")]
[DXCategory("Behavior")]
public string WorkingDirectory { get; set; }
<DefaultValue("")>
<DXCategory("Behavior")>
Public Property WorkingDirectory As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
The current directory for a process that is launched with a click on the JumpListItemTask.
|
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