I would like to print the name and compile date of the running exe near the start of the program outpu; ie. so the output is tagged with the actual version of the program exe that generated the output.
Is it possible to 'access' the name and compile date during runtime?
Or is the only way to use a separate wrapper program?
The former option is strongly preferred