>>>Is there anyway to programatically set the value that sys(2023) returns?
>>>I suspect there is. I suspect there is because you can go to Tools\options and under the Files tab you get to specify the value that sys(2023) returns.
>>>
>>>I'm hoping that means I can do it in code.
>>>
>>>TIA,
>>
>>Rick,
>>
>>You can set this value in the registry under HKEY_CURRENT_USER\VisualFoxPro\5.0\Options. The value to set is TMPFILES.
>
>George,
>
>AFAIK, VFP applications don't read registry.
Sergey,
You may be right. I haven't tested. Then again, there's SYS(3056).
George
Ubi caritas et amor, deus ibi est