>How copya file to another PC using only the IP addres?
You need specify a UNC path using the IP address and the share name of the remote PC.
Ex.
copy file test.txt to \\XXX.XXX.XXX.XXX\ShareName\test.txt
You could also use FileToStr() and StrToFile() to do the same thing.
cfile = FileToStr('test.txt')
=StrToFile(cFile,"\\XXX.XXX.XXX.XXX\ShareName\test.txt")
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao