Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How get Temp directory path?
Message
 
 
To
22/02/2006 08:50:55
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01097543
Message ID:
01098083
Views:
16
I would recomend to use SYS(2023).
VFP uses SYS(2023) directory to store temporary files. It'll cause a problems/errors if set to a wrong/non-existing directory and should be fixed.

>Sergey, which one (sys(2023) or getEnv('temp')) you think is safer to use?
>
>I'm asking this because in a customer with win2000, they recreated all users in their machine, Windows got a bit confused and sys(2023) generated a folder which did not exist.
>
>>It's VFP temp directory and can be different from the Windows temp directory.
>>? GETENV("Temp")
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform