Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New TMPFILE= options, VFPA
Message
From
20/03/2019 00:18:12
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
18/03/2019 09:50:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01667313
Message ID:
01667378
Views:
77
>>Even smarter would be a way to change temp path for any new item while keeping the list of currently open temp files on previously set paths via SET command. Had issued such a enhancement wish, MS reaction was along the lines of "interesting idea, makes technical sense, but we won't go for it - usual user does not face such problems..."

Looks like he just did that too, using a new SYS(9021) function:
SYS(9021,"TMPFILES","%TEMP%\%VFPPROCESSID%")   &&use in main.prg to change the TMPFILES= setting 
&& or SYS(9021,"TMPFILES",ADDBS(GETENV("TEMP"))+TRANSFORM(_VFP.PROCESSID))
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform