>>Does anyone have a sample of how to retrieve the IP address of another computer on a network. I know the computer names, but need to get the IP addresses.
>>
>>Thanks in advance
>
>First (and ugly) thing that comes to my mind:
>
>RUN ping REMOTECOMPUTERNAME > PingIp.TXT
>m.lcStr = FILETOSTR([PingIp.TXT])
>m.lcStr = SUBSTR(m.lcStr,AT("[",m.lcStr)+1)
>m.lcIP = LEFT(m.lcStr,AT("]",m.lcStr) -1)
>
>not tested, no error handling.
Thanks I will give this a try
Paul