Information générale
Catégorie:
Codage, syntaxe et commandes
>>Thanks.
>>
>>>>Thanks, Barbara. So, in theory, one could test for the existence of a TMPFILES directory on app startup. If it doesn't exist, MD the thing. On next startup, that directory would be used. I think?
>>>>
>>>
>>>Yes, but you have to know what the TMPFILES directory is. I don't know of a way to find it, unless you want to parse the config.fpw file.
>
>It's too late to check for once VFP starts; you need a non-VFP component, such as a launcher, to check for and if necessary create the TMPFILES directory - VFP will attempt to use the TMPFILES directory immediately on startup.
I understand. Couldn't the app parse config.fpw and create the TMPFILES directory so on next launch it would use the desired directory? Guess I'll just have to test it...
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