I pulled out all the comments (that wasn't too smart) to make the post smaller. Oops. I am using version 5.0.2134.1 of both winscl.exe (Win2k RK) and winsrpc.dll (Win2k Server). I love dlls!
Funny about the "(" in IP. I tested using redirected output from winscl, changing WINS server address to different lengths, not to mention the 'found' IP addresses, just to make sure I got the substr offsets right.
The name resolution problem is likely due to the "(", since the script sets $IP to the result of the substr(), then pings $IP. So if it attempts to ping (xxx.xxx... it will certainly fail.
Looks like I need to lay my hands on a couple NT and XP boxes. My employer doesn't officially endorse XP, I don't normally have an NT box at hand, and I don't support 9x anymore (Yippee!), so writing for all OS levels is sometimes a challenge. In fact, one time...
About the screenshot. I don't have an externally visible web server to provide a URL to an image. Is there another method to use? For example is there a space on this board for that purpose?
Thanks for the input.
_________________________
Jim
--------------------