>>>>My understanding is that Foxpro from at least as far back as FPW2.5 automatically sets tmpfiles to the windows temporary folder, which is local.
>>>>Ask SYS(2023) and you usually get C:\WINDOWS\TEMP.
>>>>I've not had any problems for years and I never specify Tmpfiles etc.
>>>
>>>This is true unless you're CONFIG.FPW file specifies a different location. For example, on my machine the windows temporary folder is C:\WINDOWS\TEMP. However, SYS(2023) returns C:\FOXPRO because that's the name of the directory the TMPFILES setting indicates.
>>
>>I was only concerned that people erroneously thought that it defaulted to the network drive or somewhere nasty and that they had to put an entry in Config.fpw
>
>My experience has been that it will default to the startup directory if not specified. In other words, if the app starts on a network drive, and there isn't an entry for this setting it the tmp files are stored in the working directory. In this case, I believe that the documentation is correct.
Well, as I said, I never set tmpfiles anymore. When I query SYS(2023) it returns C:\WINDOWS\TEMP or whatever the local windows temp dir is. Foxpro set the tmpfiles directory to the Windows temporary directory by default and has done so for a long time.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement