Contents of this section
Description
Environment Variables [link]
Path Environment Variables
fppath
Description:
FilePro uses many environment variables to alter the way it functions. These variables are recognized by the various filePro programs. They are stored in the environment as would be any environment variable. FilePro environment variables can also be stored in a special configuration file you can maintain with an editor found in filePro. This file is called " config " and it lives in the " fp/lib " (fp\lib) directory. It is edited with the Configuration Editor found within the FilePro Directory choice on the filePro Plus Main Menu.
Path Environment Variables
There are four filePro environment variables that cannot be set in this file. (Actually, PFDSK may be set in the filePro config file, but you would do well to treat it like the other 3 PATH variables and set it outside of the config file.)
These 4 variables are loosely called the filePro PATH variables since they tell filePro programs where to find the filePro program directory "fp" (the filePro executables and configuration files are in this directory), and the "filepro" directory (your applications and data are in this directory).
PFDSK |
Sets the filesystem |
PFPROG |
Sets the program directory (by appending "/fp" or "\fp"). |
PFDATA |
Sets the mount point of a filesystem |
PFDIR |
Sets the data directory (by appending "filepro" |
To locate the filePro program directory (fp):
Unix - $PFPROG/fp
Windows - %PFPROG%\fp
To locate the filePro data directory (filepro):
Unix - $PFDATA$PFDIR/filepro
Windows - %PFDATA%%PFDIR%\filepro
Then filePro will scan for key/data/index files by looking in the directories listed in PFDSK, substituting each entry for PFDATA above.
/etc/default/fppath
Under Unix, there is a special filePro default file (/etc/default/fppath). Under Windows, the fppath file will be located in the /fp parent directory. This file contains four lines and may look something like the following:
/u/appl
/u
/appl
9eaNE%WWFYbfeL
This file represents the three variables, PFPROG (first line), PFDATA (second line) and PFDIR (third line). If they are set, the environment variables themselves OVERRIDE this file s contents, but in their absence, this file dictates where filePro programs look for their own libraries and where these programs look for your data files. Again, the first line is where the programs live, the combination of the second and third line show where the filePro directory lives. You append "/fp" to the first line and "/filePro" to the second/third lines separated by a /.
The fourth line of this file is an encoded site password. This password is set or unset on the filePro Utilities Menu. ("util"). If this line is blank, there is no site password.
NOTE: When setting a site password, keep in mind that this will affect your processing tables so make sure that you dont lose the assigned password and when moving from one system to another that you set the same site password.