Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the temporary directory
Message
De
02/04/1997 11:21:06
 
 
À
02/04/1997 11:03:11
Michael Knelsen
Technology Management Corporation
Regina, Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00026553
Message ID:
00026574
Vues:
26
>>>Is there a way to change the directory that the system uses. I tried to use SET TEMP TO C:\VFPTEMP, but it would not recongize TEMP as a command word. Is there anything else I can try??
>>
>>tmpfiles=C:\VFPTEMP in Config.fpw
>
>What I am doing, is creating my own temporary directory inside of the users default temp directory. I need to have the command run from inside the app. I tested this line, and it works inside the app, but is there a more 'proper' way to do this??

Proper place for really temporary files (e.g. cursor) is Windows\Temp folder on local workstations. If you for some reason change it (e.g. in a case of exe running on server) you use Config.fpw. If you want to store some 'temp' file which has user-critical data to be used later on, you can always code real pathname when you create/copy/append etc.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform