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:
01055621
Views:
13
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.

On my computer this function and SYS(2023) return identical location.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform