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--