I have C++ multi project, in visual studio 2012, from which a .exe file is generated and there is a huge config.txt file contains many input arguments. So I run my program by this command in command line of windows:
program.exe -c config.txt
Now I want to debug this program but I can't give it the config.txt as an input argument file. I tried the answers of Debugging with command-line parameters in Visual Studio
but it didn't mentioned how to give the whole .txt file to visual studio instead of typing arguments in properties->debugging->command argument
in config.txt I have arguments like this :
-numberOfImage
2
./Lena.jpg
./Barbara.jpg
-imageDimensions
230
230
-minIntensity
0
-maxIntensity
255
and more many inputs which I want to change them easily in .txt file not typing them in command argument. How can I link config.txt to debugger?