Yup That will do the trick also.
>Or GetWordNum(sys(0),1)
>
>>Gerard that's exactly what Sys(0) does it returns Machine Name# User Name.
>>so just do lcMachineName = LEFT(SYS(0), ATC("#", SYS(0)) -1)
>>
>>>Hi.
>>>Is there a way within VFP to identify Network Machine Names
>>>Similar to Sys(0) which indicates the Windows User Name, I need to get access to the machine Name
>>>
>>>Regards,
>>>Gerard
Alexandre Palma
Senior Application Architect