Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TMPFILES
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00254693
Message ID:
00254697
Views:
22
>OK, the application is working pretty good, it's time to start optimizing it's performance.
>
>What are the standards for TMPFILES when working with VFP databases on a network.
>
>Our user base is widely varied.
>
>I'm assuming I want to use the windows temporary directory.
>
>Also what is the API call to get the windows temporary directory?
>
>And lastly, TMPFILES in the help file say's it takes a DRIVE:, does it take a path also? (C:\TEMP?)
>
>Any help appreciated.
>
Hi Eugene,

You may be able to retrieve the location of the Windows temporary directory using GETENV('TEMP'). The best place for VFP's temporary files is, of course, on the local drive. Despite the fact that the documentation doesn't mention a path, you can specify one in your CONFIG.FPW file. If you do (and I do, BTW), it's easier to recognize these for what they are, and, if necessary, know when to delete them.

hth,
George

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

Click here to load this message in the networking platform