Specifying a Registry File

You can access a registry file with the fileregedit utility at the command line using the following syntax: fileregedit [-f <path/file>] <function> <args>.

To edit a registry file, the system administrator must have Read-Write permissions for both the registry file and the directory that contains it. Without these permissions, changes to the file are not saved.

The following table describes methods for specifying a path and/or registry file name other than the default to be modified:

To:Perform this task:
Define an alternate path for the default unixuser.dat file

Set the XYV_PDM_ROOT environment variable to the location of the unixuser.dat registry file to be used. For example:

setenv XYV_PDM_ROOT /usr/phoebe

The path specified overrides the default /pdm/clients/setup.

Define an alternate path and registry file name

Set the XYE_API_REGISTRY_FILE environment variable to the full path and registry file name to be used. For example:

setenv XYE_API_REGISTRY_FILE /usr/reg/registry.dat

The path and file name specified overrides the default path and file name as well as the path and file name set by the XYV_PDM_ROOT environment variable.

Define an alternate path and registry file name

Use the fileregedit -f switch to specify the path and registry from the command line using the following syntax:

fileregedit -f /path/file

where /path/file is the path and file name of the registry file to be modified. For example:

fileregedit -f /usr/reg/registry.dat

The path and file name specified with the -f switch overrides the default path and file name as well as the path and file name set at the XYE_API_REGISTRY FILE environment variable.