>>>>I never explicity set TMPFILES, so it's one and the same to me.
>>>
>>>So how do you make sure that temp files are not stored on the server when running off a network drive?
>>
>>Specify the drive and directory in the CONFIG.FPW file.
>
>But our fellow member mentioned he never sets TMPFILES which is, guess where... :).
>
>One way would be to keep the temp files on the local temp drive (using GetEnv("temp"), but then programmatically create our own subdirectory in it, and write this location into a config.fpw... which would then be a PITA to propagate into the .lnk file, because we'd need to force the icon to have the -c[path to our config file] switch. Sort of a circulus viciosus.
>
>In the office here we have an installer which creates c:\[our_logo_name]\temp and we have a class which forces the creation of temp files there, but this doesn't work for cursors - they still end on the default temp location - this is just the temp .dbf and .cdx stuff.
Hi Dragan,
Just in case: I created a FAQ #7988705 how to retrieve Windows Folders. Basically it's a summary of a thread. Also there is a Document in Documents section devoted the same problem. Only Ed contributed, though...
If it's not broken, fix it until it is.
My Blog