Placement of Temporary Files (TMPFILES)Last reviewed: April 17, 1995Article ID: Q87805 |
The information in this article applies to:
SUMMARYMicrosoft FoxPro for MS-DOS creates temporary files in the current working directory unless the CONFIG.FP configuration file contains a TMPFILES statement to specifically designate an alternate location for the files. The syntax of the TMPFILES statement is as follows:
TMPFILES=<drive:> MORE INFORMATIONFoxPro creates temporary files in the process of editing, indexing, and sorting data, and for a critical internal file called the "program cache." The TMPFILES entry in the CONFIG.FP specifies the drive on which the EDITWORK, SORTWORK, and PROGWORK files are stored if none of the other options specify locations for these files. Specifying locations for these files can be useful to optimize performance in a FoxPro/LAN environment. Editor sessions can momentarily create a complete copy of the file being edited on the TMPFILES drive (when it creates .BAK files). Indexing and sorting operations for large databases can create large files on the TMPFILES drive. Although the program cache is not especially large, it is a critical file. Running out of disk space while attempting to extend the program cache is a fatal error. RAM disks are generally quite limited in size. It is usually not a good idea to use one for the TMPFILES drive. Generally, try to ensure that plenty of space is available on the TMPFILES drive. There are two basic situations where it is useful to place the TMPFILES directory somewhere other than the default location:
REFERENCES"Microsoft FoxPro Developer's Guide," pages D14-11 through D14-13, "Special CONFIG Items"
|
Additional reference words: FoxDos 2.00 2.50 2.50a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |