palmtree with sun behind it CONTACT US
Phone: (412) 835-9417
Email: sales@vss3.com

Tip #30 - Configuration Files - fileProGI

All developers with filePro should be familiar with the configuration table.  This sets the default colors, environment variables and printers.  This is handled differently with fileProGI.

As it was installed, a table called default.config was created in the folder:  \fileproGI\fp\fpserver\users

startcmd="p GIruntime"
pfprog=h:\fileprogi
pfdata=h:
pfdropshadow=off
pfdsk=h
pfdir=\fileprogi
pfnewntconsole=on
log=false
debuglog=false
displaymessages=false
startdir=h:\fpgi\fp
PATH=%PFPROG%\fp;C:\WINDOWS\COMMAND

Then as a user logs into the system a second table of variables is added to the stack.  The case of a variable is critical.  Be sure to stay with lower case, since the default table created during installation will use lower case variables.

Table called: nancy.config

password=mos
startcmd="H:\fileprogi\fp\p mos"
pfmenu=D:\md50\filepro\menus
pfdir=\md50
pfdsk=D
pfdata=D:
pftmp=d:\tmp

This will start with the menu called "mos".  Notice that the location of the data and menus is quite different.  These two files will work together, with the user variables taking precedence over the default configuration settings.

Written by Nancy Palmquist

Copyright, 1997 by Virtual Software Systems.  All rights reserved.

Contact Us by: Email to Virtual Software Systems or Phone: (412) 835-9417