Skip to main content

I was hoping for a way to provide configuration information without having to write my own subroutine to read a CONFIG or INI file.  I did find something close, the Run-time Launch Configuration File.  (while searching, I did find something called "Run-time Configuration" but it could only be set at compile-time, go figure!).

The mfdefault.exe.mfcfg (thanks for the correction, Chris Glazier) file can contain commands to set environment variables during the time the programs run.  These environment varables can be easily read in the program using a DISPLAY/ACCEPT pair of commands.  Individual files, <program name>.exe.mfcfg files, can be created and customized for an individual program.  The syntax for the command in to the mfconfig file is "SETENV <variable name>=<variable value>"  The quotes and "<>" marks are not part of the command.