Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fixed Temp Files Directory ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00754451
Message ID:
00754476
Vues:
17
Thanks I saw that link. I was hoping there was some UT Exclusive info about doing it anyway.

Time to make this add to the VFP wish list.

I have two situations where I need this to happen:

1.
VFP EXE running on a Metaframe server. The OS gives every user its own %temp% space for security and to keep individual temp files from stepping on each other. The multiuser nature of Metaframe, as well as the read-only NTFS permissions on the program installation directory, prevent any hardcoding config.fpw changes.

2.
VFP MTDLL running on a few different servers, some with the same OS %temp% directory specified, others not. Hardcoding a place where .tmp's/etc should go is not possible because the %temp& varies from box-to-box, and could change if an admin desires. If a box runs IIS, for example, it will respect the OS %temp% directory and save its droppings no matter where they get shifted for speed reasons.

Hmmm...

>Steve,
>
>You cannot change VFP temp. directory location from within VFP application. See http://fox.wikis.com/wc.dll?Wiki~TmpFiles~VFP for details.
>
>>What is the best global way, within a .prg only, to specify that a particular directory should be used for temp files (cursor .tmp's etc)? I grabbed the OS temp directory from an API call, but my .tmp's don't want to go there.
>>
>>I can't set something in config.fpw because I never know where %temp% might be, from system to system.
>>
>>Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform