I use getarg subroutine in my FORTRAN program to call file names and related parameters from command line itself. I would like to print the whole execution command in my output file, so that the output file contains the information about what ever input file and parameters I had used to generate it. Is there a way to do that?