cscript syntax error - TechRepublic
General discussion
March 9, 2001 at 10:04 AM
shanghai sam

cscript syntax error

by shanghai sam . Updated 24 years, 10 months ago

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.

This discussion is locked

All Comments