Names and Locations of Configuration Files

The names of the various configuration files depends on the version and release of DP4 installed. Different releases of DP4 also have varying degrees of flexibility as to the location of these files, and there are significant changes in the DP4 Enterprise release.

The changes in DP4 Enterprise (4.620 or later) have been made for three reasons:

  1. We are obliged to stop using the Datafit name in the DP4 product.
  2. The changes make DP4 installation on different platforms more similar.
  3. The changes make it possible to run multiple installations of DP4 simultaneously on the same machine without them interfering with each other (except with legacy versions of DP4).

DP4 Enterprise Releases

  1. The name and location of the DP4 configuration file is dependent on the operating system.

  2. The DP4 licence file is called dp4.sys. The file must reside in the directory given by the dp4home entry in the [win32], [wince] or [unix] section of the DP4 configuration file. (The [unix] section is used for all Unix like variants of DP4, including Linux and AIX). If this is not specified (recommended) the directory where dp4.ini is initially located is used (i.e. the directory containing syslibt.dll or syslibce.dll on Windows/Windows CE and the DP4HOME or /usr/dp4 directories on Unix/Linux). This directory is assigned to the environment variable given by the value of the homename entry in the [branding] section. If homename is not specified DP4HOME is assumed. You can stop any environment variable being created by putting homename= in the DP4 configuration file.

    For compatibility purposes and for the release 4.620 only the licence file may continue to be called datafit.sys. dp4.sys will be used in preference to datafit.sys if both files exist. The two files are currently identical in format, and datafit.sys can just be renamed to dp4.sys. It is probable that some additional information will be added to the added to the end of dp4.sys in future. Only a few DP4 core components access this file by name, so switching to the new name should not cause any problems.

  3. The name and location of the userdata.sys file is described below.

Releases up to 4.619

  1. The DP4 configuration file is called datafit.ini The file is only used in the Windows version of DP4, and must be installed in the "Windows" directory. Depending on the version of Windows this directory is given either by the windir environment variable, or the SYSTEMROOT environment variable.

  2. The DP4 licence file is called datafit.sys. On Unix/Linux the file must reside in /usr/datafit, on other operating systems the file resides in the location given by the DATAFIT environment variable. If this variable is not defined the "current" directory is assumed, or for older versions of DP4 the "root" directory.

  3. The name and location of the userdata.sys file is described below.

userdata.sys

The name and location of the userdata.sys file is the same in all DP4 releases: programs that access userdata.sys first look for a temporary version of the file named menudata.sys in the current directory, then userdata.sys in the current directory, then userdata.sys in the same directory as dp4.sys.