Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(2023) returns wrong directory in VFP 9
Message
From
04/10/2005 13:16:39
 
 
To
04/10/2005 12:42:12
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01055565
Message ID:
01055954
Views:
15
>>The GetTempPath function checks for the existence of environment variables in the following order and uses the first path found:
>>- The path specified by the TMP environment variable.
>>- The path specified by the TEMP environment variable.
>>- The path specified by the USERPROFILE environment variable.
>>- The Windows directory.
>>
>>Check TEMP and TMP environment variables. It might happen, some application sets them when your computer starts.
>
>I think I solved this.
>
>It seems that SYS(2023) returns VFP IDE Tools/Options/File Locations/Temporary files setting. This is undocumented.

Yes, of course, I think this is quite obvious! Why else should we have this setting?
Previous
Reply
Map
View

Click here to load this message in the networking platform