Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

get name of the exe file

$
0
0

I distribute various versions of an executable file to various people for testing and comment. The versions are distinguished by the name of the file, e.g. "testfile_1a.exe", testfile_2b.exe", etc. The program produces a text file output. I would like the first line of this text file to contain the name of the executable that produced it (so that when they return with their sample output I can tell how they actually got it). Is this possible? I cannot find an intrinsic or extended Fortran function that does this. Perhaps an environment variable?


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>