I want to run a program with a different configuration file, the program writes with C # 2.0, I make a different file name {program_name} .exe.config, I mean one exe with another configuration file, for example, I have 3 config file, then I will run 3 exe with a different configuration file, bu - the exe file is the same. Can I not modify the program to read another configuration file (I do not want to put the configuration file path in the exe command parameters) for this (for example, use a batch file or another method.)?
Thank.
source
share