I was just thinking, I could have 1 command prompt window open, and 1 Visual Studio main.cpp (or equivalent) open.

I could then make the changes to the code, Alt-Tab to the command-prompt window, then put in what I want the .exe to be via the /out parameter.

- No extra code needs to be added
- So the size of my program won't enlarge

Problem solved!

- Have to do an Alt-Tab
- Command-Prompt sucks, as I need to right-click, Paste

Though I still would like to know if this can be done programmatically, it is no longer a priority.

If you know how I can get this to be done programmatically, please tell me.

Thanks in advance,


Output File