Environment.CommandLine
Property Value
A string containing command line arguments.
Remarks
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 method to retrieve the command line information parsed and stored in an array of strings.
HTH