Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New TMPFILE= options, VFPA
Message
De
20/03/2019 00:18:12
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
18/03/2019 09:50:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01667313
Message ID:
01667378
Vues:
79
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform