Microsoft KB Archive/247915

From BetaArchive Wiki
Knowledge Base


Cannot Import Config.nt FILES Value to 16-bit Program in Windows NT Workstation

Article ID: 247915

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT Workstation 4.0 Developer Edition



This article was previously published under Q247915

SYMPTOMS

When you run a 16-bit program in a Microsoft Windows NT Workstation 4.0-based virtual DOS machine (VDM), you are not able to import the value set by the Config.nt FILES environment variable into the 16-bit application.

CAUSE

This behavior occurs because only the VDM uses the environment variables set in the Config.nt file. These variables are not saved to the registry.

RESOLUTION

To resolve this behavior, write a program (or use a third-party utility) that extracts the value after 'FILES=' to allow that value to be used in another program or service.

Keywords: kbprb KB247915