Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(2023) returns wrong directory in VFP 9
Message
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:
01055937
Views:
10
>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.
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform