Assembly: System (in System.dll)
'Declaration <MonitoringDescriptionAttribute("ProcessWorkingDirectory")> _ <TypeConverterAttribute("System.Diagnostics.Design.StringValueConverter, System.Design, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _ <SettingsBindableAttribute(True)> _ Public Property WorkingDirectory As String
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 property behaves differently when 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.
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.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.