Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a folder
Message
De
07/06/2002 13:41:23
 
 
À
07/06/2002 11:37:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00665062
Message ID:
00666082
Vues:
25
>>>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...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform