Special Terms for Configuration Files

The following table lists special terms you can use in configuration files.

Note   You can also use the SET commands, system variables, and the _STARTUP setting in configuration files. For details, see the topic Creating a Configuration File under Configuring Visual FoxPro.

Special terms available in configuration files

Term Description
BITMAP
Specifies whether Visual FoxPro first writes screen or form updates to an off-screen bitmap, and then performs a bit block transfer (bitblt) to the screen. BITMAP = OFF can improve performance when application are accessed using Windows Terminal Server clients.

Default is BITMAP = ON

CODEPAGE
Specifies a number that identifies the character set used for files. A list of possible values can be found in Code Pages Supported by Visual FoxPro.
COMMAND
Specifies a Visual FoxPro command to execute when Visual FoxPro is started. The syntax to use is the following, where cVisualFoxProCommand is the command to execute:

COMMAND = cVisualFoxProCommand

EDITWORK path
Specifies where the text editor should place its work files. Because work files can become large, specify a location with plenty of free space. Default is the startup directory.
INDEX extension
Specifies the extension for Visual FoxPro index files. Default is .idx.
LABEL extension
Specifies the extension for Visual FoxPro label definition files. Default is .lbx.
MVCOUNT
Sets the maximum number of variables that Visual FoxPro can maintain. This value can range from 128 to 65,000; default is 1024.
OUTSHOW ON | OFF
Disables the ability to hide all windows in front of the current output by pressing SHIFT+CTRL+ALT. Default is ON.
PROGWORK path
Specifies where Visual FoxPro keeps the program cache file. For faster performance, especially in a multiuser environment, specify a fast disk (such as a local disk or RAM disk, if available). Allow at least 256K for the cache (however, the file can grow larger). Default is the startup directory.
REPORT extension
Specifies the extension for Visual FoxPro report definition files. Default is .frx.
RESOURCE path[\file]
Specifies the location of the FOXUSER resource file. The file argument is optional; if not included, Visual FoxPro looks for the Foxuser.dbf file. If the specified file does not exist, it is created. Default is the startup directory (path) and Foxuser.dbf (file).
SORTWORK path
Specifies where commands such as SORT and INDEX should place work files. Because work files can become up to twice as large as the tables being sorted, specify a location with plenty of free space. For faster performance, especially in a multiuser environment, specify a fast disk (such as a local disk). Default is the startup directory.
TEDIT [/N] editor
Specifies the name of the text editor used when you edit program files with MODIFY COMMAND or MODIFY FILE. Include the optional clause /N with TEDIT to specify a Windows text editor (for example, Microsoft Word for Windows). Default is the Visual FoxPro editor.
TITLE title
Specifies the title that appears in the caption bar of the main Visual FoxPro window. Default is "Microsoft Visual FoxPro."
TMPFILES drive:
Specifies where temporary EDITWORK, SORTWORK, and PROGWORK work files are stored if they have not been specified with any of the other options. Because work files can become very large, specify a location with plenty of free space. For faster performance, especially in a multiuser environment, specify a fast disk (such as a local disk). Default is the startup directory.

For more details about optimizing performance, see Optimizing Applications.

See Also

Creating a Configuration File | Configuring Visual FoxPro | SET Command | Using SET Commands | Specifying the Configuration File to Use | Using a Configuration File