>>In my case I cannot use the sys(0) because on Win 2000 that function return "Machine name #255" no mather which user is login.
>>
>>>>No! This return the Machine name. In our case the machine name will be deferent then the user ID.
>>>>
>>>Isn't the user name what occurs after the "#" in the return from SYS(0)?
>
>Really? I get the user name on my W2K.
Don't have FoxPro Windows 2.6 here, but in FoxPro 2.6 DOS under Windows 2000 it brings
computer_name # 255
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison