>>HEY GUYS IS THERE AN API TO SAY IF A PARTICULAR SERVER EXIST. EXAMPLE IN MY PROGRAM I WANT TO CHECK IF SERVER1 EXIST ON THE NETWORK.
>
>You may use WSH to get the list of files on a SERVER1. If you got an error, then the server doesn't exist.
>HTH, Igor
You can get my NETRESOURCE class to do this; it's got demo code that enumerates all shared resources in a domain, and by changing the scoping, you could discover the resources relative to a specific server. If you want to do this, the source code is included; it'd be your responsibility to develop the necessary code.