pass command line arguments while debugging in Vistual Studio 2005
October 30th, 2007
When your program is not running, go to the menu and select Project → Properites... Go to the Debug tab and locate the Start Options section. You should be able to see a textbox labeled Command line arguments where you can enter your desired command line arguments:
Use spaces to separate command line arguments and make sure that you enclose in double-quotes (") any argument that contains spaces. Save the properties (you can do Save All) and start debugging.

Use spaces to separate command line arguments and make sure that you enclose in double-quotes (") any argument that contains spaces. Save the properties (you can do Save All) and start debugging.