PRB: File '<Temp Directory>\########.TMP does not exist' Error

Last reviewed: June 27, 1995
Article ID: Q131364
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6a

SYMPTOMS

When trying to create a new report, screen, label or menu in FoxPro for Windows, the error message '<Temp file Directory>\########.TMP does not exist' sometimes occurs.

This indicates that FoxPro cannot find the temp file directory as specified in the CONFIG.FPW file. The error occurs either by creating a new report from the Command window or through the FoxPro menu system. An existing report or screen file can still be opened successfully but a new one cannot be created.

CAUSE

The temp directory specified in the CONFIG.FPW file either has a "Hidden" attribute or the directory does not exist (or is spelled incorrectly).

WORKAROUND

If the Temp directory doesn't exist, create it, and make sure the directory name and path is specified correctly in the CONFIG.FPW file.

If the Temp directory is hidden, remove the "Hidden" attribute by using File Manager to change the properties of the FoxPro Temp directory or by using the ATTRIB command at the MS-DOS prompt.

To correct this problem at the MS-DOS prompt, type this command:

   attrib  C:\'TempDirectoryName' -H

To correct this problem using the Windows File Manager, follow these steps:

  1. In File Manager, select the specified temp directory name.

  2. From the File menu, choose Properties.

  3. In the Property window, clear the hidden attribute check box.

STATUS

This behavior is by design. The Temp directory must exist and it must not be hidden.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open the CONFIG.FPW file from FoxPro root directory or create a new one. If the CONFIG.FPW doesn't exist use Notepad to create one.

  2. Include the command "TMPFILES=C:\FOXTEMP" in the file. Foxtemp must be an existing directory, if it dosen't exist, create it.

  3. Start FoxPro for Windows and try to create a Report, Screen, Label or Menu. The error message '<Temp Directory>\########.TMP does not exist' will occur.


Additional reference words: FoxWin 2.60a
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral


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: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.