Recipe 2.10. Testing an Application's Command Line
You have written an application that supports various custom command-line arguments, and you'd like to test the argument-parsing code from within the development environment.
Use the "Command line arguments" field in the Project Properties window to enter or modify the temporary testing command-line arguments.
You can test this code by setting a temporary command-line argument string for use in your program:
This temporary argument string is used only when running programs within the Visual Studio development environment.