Microsoft KB Archive/119062

= PRB: File "C:\TEMP\99999999.TMP" Does Not Exist =

Article ID: 119062

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition

-



This article was previously published under Q119062



SYMPTOMS
When you are trying to create a new screen or report, the error message "File 'C:\TEMP\<99999999.TMP>' does not exist" appears, where <99999999.TMP> is any random combination of numbers.



CAUSE
When you open a new screen file (*.SCX) or a report file (*.FRX), FoxPro creates a temporary file. The filename for this temporary file will be eight randomly generated numbers with an extension of .TMP. If there is a TMPFILES = statement in the CONFIG.FPW file and the directory pointed to by that statement does not exist, FoxPro generates the error mentioned above.



RESOLUTION
Make sure that the TMPFILES = statement in the CONFIG.FPW file specifies a valid directory. For example, if the TMPFILES = statement is

TMPFILES = C:\TEMP

make sure TEMP is a valid directory that exists on drive C.

NOTE: This problem also occurs when the TEMP directory is hidden.



Steps to Reproduce the Problem
 In the Command window, type the following:

MODIFY FILE c:\\config.fpw

 Either modify the existing TMPFILES statement or create a new statement that directs the temporary files to a directory that does not exist. For example:

TMPFILES = C:\BADDIR

 Save the file and then quit FoxPro. Restart FoxPro for Windows. In the Command window, type either of the following commands:

CREATE REPORT

-or-

CREATE SCREEN

</li></ol>

You will receive the following error message (note that the 9's can be any numbers):

File 'C:\baddir\99999999.tmp' does not exist

Additional query words: FoxWin VFoxWin 2.50 2.50a 2.50b 2.60 2.60a 3.00 3.00b errmsg err msg

Keywords: KB119062

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.