Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temporary Files - where should I put them
Message
From
14/12/2001 10:34:41
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
14/12/2001 10:19:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00593753
Message ID:
00594412
Views:
48
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.
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform