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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer Scripts

Status
Not open for further replies.

bsl1234

IS-IT--Management
Jan 16, 2004
17
US
I added a printer .vbs script to the startup of Windows Server 2003 domain. Here is the script:

Dim net
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\Hertzbachfilese\HP4350"

I get the error Windows script host
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
Line : 3
Char:1
Error: The filebame, directoryname, or volume is incorrect
Code: 8007007B
Source: Null


I have checked the path of the file and the path of the printer. I can not get the printer to come automatically down on the workstation. Does anyone have any suggestions or better scripts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top