To determine location for temp files, Foxpro first looks for TMPFILES entry in config.fpw. If it's not there, than FoxPro uses environmental variable 'TEMP'. If this variable isn't defined, than it uses the directory where application was started from.
>I encountered a strange problem with my application. App is importing data from an excel sheet to the temp (I am getting the temp folder, using sys function and changes the directory before doing import) folder.
>
>It was working fine at the cleint site until this morning. But from this after noon, at one of the machine's at the client site, it stopped importing the file at the temp folder, instead the file is being created in the APP folder itself.
>
>Also when we run the app, it is creating .tmp files in the app folder instead of temp folder.
>
>Can somebody help me with what would have changed? They are using Window NT 4.0.
>
>Thanks for all your help.
--sb--