ECN-4741 New search implementation to find config files on Windows

Product: ACUCOBOL-GT

Module: Runtime

Machines Affected: Windows

Known Versions Affected: All

DESCRIPTION:

When required, ACUCOBOL-GT searches for a specific configuration file, which can be any file from this list:

  • AcuAccess
  • a_srvcfg
  • a_termcap
  • acucobol.msg
  • acurcl.cfg
  • acurcl.ini
  • analyze.%d.cfg
  • boomerang.cfg
  • boomerang_alias.ini
  • cblconfi

In previous releases, ACUCOBOL-GT searched for these files in an \etc directory off of the root. To increase compatibility with Microsoft Windows, this release of ACUCOBOL-GT delivers or generates these files in the following directories, and searches in this order:

  • %ProgramData%\Micro Focus\extend\x.x.x
  • %ProgramData%\Micro Focus\extend
  • \etc

Where x.x.x is the version of extend, for example, 10.5.0.

If the required file is not found in one of the first two listed directories, it searches \etc for backward compatibility.