General discussion

Locked

Syntax error while running WSH

By ptdnet ·
I get a syntax error on the following line of code while running under WSH:
Set objComputer = GetObject("WinNT://192.168.22.80")

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Syntax error while running WSH

by Bill_H In reply to Syntax error while runnin ...

(Pursuant to our e-mail discussions...)

The suntax you are trying to use is part of the Active Directory Services Interface. ADSI is included in Windows 2000, but since you are using Windows NT, you must install ADSI v2.5.

You may wish to view the MSDN article "Administering Windows through Windows Script Host" located at:

http://msdn.microsoft.com/library/periodic/period99/adminWSH.htm

(If the URL above does not work, locate and remove any spaces inserted by the TechRepublic system.)

Hope this helps...

Collapse -

Syntax error while running WSH

by ptdnet In reply to Syntax error while runnin ...

I was stumped mainly because of the syntax error. (duh!)

Collapse -

Syntax error while running WSH

by ptdnet In reply to Syntax error while runnin ...

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums