Hello all...
The following line gives me a syntax error when executing the script, where
sServer is the name of a server on the network in the form of "zcd-rep-comm"
Set oServer = GetObject("WinNT://" & sServer)
I narrowed the syntax down to the "WinNT:" - If I change it to
Set oServer = GetObject("//" & sServer)
I no longer get the sysntax error, however I do get the following error
"File name or class name not found during Automation operation 'GetObject'."
The script is running on a WinNT machine and the server it is trying to get
to is a Win2K machine.
What in the heck am I dowing wrong here?
Thank you,
Mike Minor
Z-Code Systems, Inc.