Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the temporary directory
Message
From
02/04/1997 11:21:06
 
 
To
02/04/1997 11:03:11
Michael Knelsen
Technology Management Corporation
Regina, Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00026553
Message ID:
00026574
Views:
28
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform