Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temp files
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00236884
Message ID:
00283270
Views:
19
>>>Then how do you set VFP6 to use the OS's temp directory (whatever that may be)?
>>
>>How about a post set-up executable, using GETENV() to return the Windows temp directory that writes the configuration for the application?
>
>Sorry, I was being too vague. I wanted to set the temp dir in my config.fpw and I have this:
>
>TMPFILES = GETENV("TEMP")
>
>but it doesn't work.

Nope, it won't work. That's why I mentioned the post setup executable. Peresonally, my post setup, which writes the configuration file, uses the directory that the executable's placed in for the temp. Once the application is installed, however, it has to be done by modifying the config (if it's not built in).
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform