Generally , when you require to pass command line argument then you try using command prompt ,but it is possible to pass parameter as command line argument using visual studio .
follow this steps to accomplish that.
1. Right Click on Project from
Solution Explorer and Select Properties.2. In the Project Properties Windows, Navigate to
“Debug Tab”3. You will Find the a text box
“Command Line argument”Well, here you can type the argument value with separated by
Space.Just write a simple console application to print the command line argument, and put a breakpoint to check the arguments,
For any kinds of Query you can contact me at askqueryme@gmail.com or post you query with suitable subject header to askqueryme@gmail.com


No comments:
Post a Comment