Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBS Scripts on NT4.0

Status
Not open for further replies.

outonalimb

Technical User
Oct 7, 2003
454
GB

Does anyone know which Service Pack or download I need to get a simple VBS script to run on Windows NT4.0?

I am trying to use the following script which doesn't work when run on my NT4.0 Workstation clients:

Dim net
Set net = CreateObject("WScript.Network") net.AddWindowsPrinterConnection "\\apollo\hp1220c"

It does work however on my Windows 2000 Pro clients. I am running it from a logon script.

Regards,
 
You probably need to download Windows Scripting Host (WSH) from Microsoft. I would suggest the latest version. Once installed, your scripts should run.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top