Gets the command line for this process.



Property Value

A string containing command line arguments.


This property provides access to the program name and any arguments specified on the command line when the current process was started.

The program name can, but is not required to, include path information. Use the GetCommandLineArgs (TBD) method to retrieve the command line information parsed and stored in an array of strings.

Windows NT 4.0, Windows 2000 Platform Note: The name of the executable file does not include the path.

Windows 98, Windows Millennium Edition Platform Note: The name of the executable file includes the path. Long file names (non-8dot3 names) can be shortened to their 8dot3 representation.

See Also

Applies To: System.Environment

The CHM file was converted to HTML by chm2web software.