Discussion Locked

cscript syntax error

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I get an 'invalid syntax' error using 'cscript'and the following snippet of code:
Set objComputer = GetObject("WinNT://" & ServerX)

This works on one computer but not on another.

1 reply

This discussion is closed to new replies.