Look at the AScan() function - once the above code returns the list of computer names, you can use AScan() to search for the new name. If the returned value is -1, it doesn't exist in the array, any other value represents it's index in the array.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D