ArcMap Command Line Arguments

Discussion created by pascal_coulon on Oct 4, 2011
Latest reply on Oct 5, 2011 by agray1
Hello There,

Is there a way in .Net (c#) to get access to command line argument passed to ArcMap on starting the application. I use an extension and I wish to run ArcMap the following way:

"C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin\ArcMap.exe test.xmd param2 param3".