Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Diagnostics Namespace
Please Wait
ProcessStartInfo Class
Please Wait
ProcessStartInfo Properties
Please Wait
Switch on low bandwidth view
Collapse All
Language Filter
Visual Basic
C#
C++
J#
JScript
XAML
F#
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
ProcessStartInfo Properties
The
ProcessStartInfo
type exposes the following members.
Properties
Name
Description
Arguments
Gets or sets the set of command-line arguments to use when starting the application.
CreateNoWindow
Gets or sets a value indicating whether to start the process in a new window.
Domain
Gets or sets a value that identifies the domain to use when starting the process.
EnvironmentVariables
Gets search paths for files, directories for temporary files, application-specific options, and other similar information.
ErrorDialog
Gets or sets a value indicating whether an error dialog box is displayed to the user if the process cannot be started.
ErrorDialogParentHandle
Gets or sets the window handle to use when an error dialog box is shown for a process that cannot be started.
FileName
Gets or sets the application or document to start.
LoadUserProfile
Gets or sets a value that indicates whether the Windows user profile is to be loaded from the registry.
Password
Gets or sets a secure string that contains the user password to use when starting the process.
RedirectStandardError
Gets or sets a value that indicates whether the error output of an application is written to the
Process
.
.
::
.
StandardError
stream.
RedirectStandardInput
Gets or sets a value indicating whether the input for an application is read from the
Process
.
.
::
.
StandardInput
stream.
RedirectStandardOutput
Gets or sets a value that indicates whether the output of an application is written to the
Process
.
.
::
.
StandardOutput
stream.
StandardErrorEncoding
Gets or sets the preferred encoding for error output.
StandardOutputEncoding
Gets or sets the preferred encoding for standard output.
UserName
Gets or sets the user name to be used when starting the process.
UseShellExecute
Gets or sets a value indicating whether to use the operating system shell to start the process.
Verb
Gets or sets the verb to use when opening the application or document specified by the
FileName
property.
Verbs
Gets the set of verbs associated with the type of file specified by the
FileName
property.
WindowStyle
Gets or sets the window state to use when the process is started.
WorkingDirectory
Gets or sets the initial directory for the process to be started.
Top
See Also
Reference
ProcessStartInfo Class
System.Diagnostics Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement