Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

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

#Declaration

[DefaultValue("")]
[DXCategory("Behavior")]
public string WorkingDirectory { get; set; }

#Property Value

Type Default Description
String String.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