If I have a file handle, is their any way to convert it to the files name or better yet the full filespec ?
The real problem is that my program will be passed the name of the Input/Output files by redirecting STDIN / STDOUT.
---Example: MyProg <UseAsInput >WriteDataHere---
I’d like to print the input/output file in the header of the output data. Another way to do this could involve reading the COMMAND LINE and pulling out the portion of the line after <… and >… ?