If I create a shortcut for a Console based application (which has not been compiled by me) or pin it to the start menu, is there any way I can specify certain default (for me) command line arguments?
|
feedback
|
|
Sure! First, create a shortcut to the executable console application by copying the executable, right click in the destination folder (where you want the shortcut to be) and selecting "Paste shortcut". Now, right click the shortcut and select "Properties". Now, all you need to do is to add the arguments to the end of the path, so the full path is like this:
Or however else your program accepts arguments. From here, you can now pin it to the start menu or whatever Here's a screenshot showing arguments used for Chrome:
| |||||||||||
feedback
|
