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 section “Creating a Configuration File,” in Chapter 3, Configuring Visual FoxPro, in the Installation Guide.
Special terms available in configuration files
Term | Description |
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 Chapter 15, Optimizing Applications in the Programmer's Guide.