We perform a lot of Monte Carlo simulations with a legacy code that is constantly evolving. Reproducibility can be a problem when we revisit old results if we are not sure which version produced which results. Part of the solution is using version control software and better file management practices. As an additional precaution, I'd like to add information about the EXE that generated the results to an output file: name, time stamp, version information from resource file, etc, something to link the EXE with the result.
I've poked around a bit without success. Can any one lend me a clue?