Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I change the drive used to store temp files?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00409880
Message ID:
00409890
Views:
15
>VFP's help file says :
>
>Specify an alternate location by including one or more of the EDITWORK, SORTWORK, PROGWORK, and TMPFILES statements in the Config.fpw file.
>
>but what do I need to do if I need to change it at run time a few times during program execution?
>
>
>TIA,
>
>Yanick Lavoie

What I have done in my app is create a data manager class. This class when initialized tells me where my app should put any temp files. If per chance I need to change this during runtime I would just change the property oData.TempDirectory and then continue on. oData is declared in my start prg and thus is available for the duration of my app.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform