I'm writing an application which may be started in a variety of different directories, but I want to be able to read and write certain control and log files that must live in the same directory as the compiled EXE. Other environments report the full path of the program that's being run through some kind of a parameter (often paramter(0) of the command line arguments.
Is there a way to learn the fully qualified name, including path, of the EXE being run? -- Larry

