How to Control Location of Catalog Manager Temp Files

Last reviewed: April 30, 1996
Article ID: Q115425
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.6, 2.6a
  • Microsoft FoxPro for Windows, versions 2.6, 2.6a

SUMMARY

The FoxPro Catalog Manager creates a number of files upon startup. These files are used to restore the FoxPro environment after you exit the Catalog Manager by choosing Command Window from the File menu. After the default settings are restored, these files are deleted automatically.

You can control where these startup files will be located through use of the TMPFILES setting in the CONFIG.FP (FoxPro for MS-DOS) or CONFIG.FPW (FoxPro for Windows) file.

MORE INFORMATION

The Catalog Manager uses SYS(2023) to determine the current TMPFILES location and then creates the following files in this directory. The actual filenames are created using the SYS(3) function, and will vary each time the Catalog Manager is started.

   File              Purpose
   ---------------------------------------------

   99999999.FKY      Macro/function key settings
   99999999.DEF      User default settings
   99999999.MEM      Saved memory variables
   99999999.VUE      Environment
   99999999.WIN      User windows

If the CONFIG.FP file for FoxPro for MS-DOS does not exist, or does not contain a TMPFILES setting, these files will be created in the FoxPro root directory. If the CONFIG.FPW file does not exist for FoxPro for Windows, or does not contain a TMPFILES setting, these files will be created in the location specified by the SET TEMP environment variable in the AUTOEXEC.BAT file.

Multiuser Considerations

In a network environment, the temporary files must be sent to either a local drive or an individual network directory. This location can be set with the TMPFILES setting in the CONFIG.FP or CONFIG.FPW file for the workstation.

Note also that the .FPC file is not multiuser and cannot be shared.

REFERENCES

For information about configuration files, see the FoxPro "Installation and Configuration" manual, or the "Configuring FoxPro" topic in the FoxPro help file.


Additional reference words: FoxDos FoxWin 2.60 2.60a multi-
user lan
KBCategory: kbenv kbnetwork
KBSubcategory: FxprgMultiuser


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.