Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Temporary Files - where should I put them
Message
De
14/12/2001 11:58:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/12/2001 10:34:41
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00593753
Message ID:
00594491
Vues:
51
I think you are right here. I was already wondering, when I wrote you.

BTW, what do you think would GetTempPath return in this case (the case that environment variable TEMP doesn't exist)?

Hilmar.

>Hilmar and if the variable don't exist?
>taken from the vfp help.
>Two environment variables are always available: COMSPEC and PATH. You can create your own environment variables with the MS-DOS SET command
>
>>>Mark I allways put tempory files on the windows temp directory you can get it with the followin code:
>>>
>>>DECLARE INTEGER GetTempPath in win32api Integer, String @
>>>lctempdir= SPACE(200)
>>>lnret = GetTempPath(LEN(lctempdir), @lctempdir)
>>>
>>
>>How about:
>>
>>
>>? getenv("temp")
>>
>>
>>Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform