When the UseShellExecute property is false, gets or sets the working directory for the process to be started. When UseShellExecute is true, gets or sets the directory that contains the process to be started.
Assembly: System (in System.dll)
[<SettingsBindableAttribute(true)>] [<TypeConverterAttribute("System.Diagnostics.Design.StringValueConverter, System.Design, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>] member WorkingDirectory : string with get, set
If the directory is already part of the system path variable, you do not have to repeat the directory's location in this property.
The UseShellExecute is true than when UseShellExecute is false. When UseShellExecute is true, the property specifies the location of the executable. If is an empty string, the current directory is understood to contain the executable.property behaves differently when
When UseShellExecute is true, the working directory of the application that starts the executable is also the working directory of the executable.
When UseShellExecute is false, the property is not used to find the executable. Instead, its value applies to the process that is started and only has meaning within the context of the new process.
Available since 1.1