TClrProcessStartInfo.WorkingDirectory Property
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.
published property WorkingDirectory: String read GetWorkingDirectory write SetWorkingDirectory;
Property Value
Type: String
When UseShellExecute is true, the fully qualified name of the directory that contains the process to be started. When the UseShellExecute property is false, the working directory for the process to be started. The default is an empty string ('').
![]() |
---|
The WorkingDirectory property must be set if UserName and Password are provided. If the property is not set, the default working directory is %SYSTEMROOT%\system32. |