Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically set TMPFILES
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00942635
Message ID:
00943344
Vues:
18
>There are numerous instances in the application where the user creates temporary tables. Even though there is a small performance penalty, I want to ensure that an individual's temporary cursors never occur in the same folder as another users. All users (both networked and Citrix) users have access to a private network share of "H:\TMP". I would like to set this as the default temporary file path for my application. I have the TMPFILES="H:\TMP" statement in the config.fpw file on the server, but I'm not sure that it's really working for all workstations.

Stephen,

I think the easiest and most dynamic way of handling this is by ensuring that all workstations at least have the same environment variable that points to the temporary file area of their choice (e.g. SET NETWORKTEMP=H:\TMP). Then in config.fpw, you can set TMPFILES to GETENV("env-varname"). This way, every user could theoretically be pointing to a different location for temporary files as long as they all use the same environment variable.

Laterness,
Jon

Edit: Just realized some of the post didn't appear because of a rogue character.
Jon Rosenbaum
Devcon Drummer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform