Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a folder
Message
De
07/06/2002 14:11:32
 
 
À
07/06/2002 13:41:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00665062
Message ID:
00666108
Vues:
27
>>>>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...
>
>It would, except that since the VFP engine can't create its temporary files, it dies before it gets to execute your first line of code...

Ah. I was assuming that a TEMP environmental was set in the system, so VFP had an alternative. Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform