Minor adaptations to helper program required. But how….

So adapt VMS_autu64.for: Remove the directory from the name of the mapfile (which is input from commandline) and use what’s left to add to the line: scan this name from back to fron to “:” or “]”, or beginning. If not at beginning,take the part that was scanned (leaving what’s in front alone), otherwise use the string.
It’s a matter of getting used to Fortran after so many years, especially where it is Fortran90 (not FORTRAN77)