Printer installing quietly via Batch File

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
1cainr
Posts: 1
Joined: 27 Aug 2010 04:39

Printer installing quietly via Batch File

#1 Post by 1cainr » 27 Aug 2010 04:57

Hello,

I use the following logon script below to delete all current printers on the machine, and then add the following printers. However, for some reason the printers dont install quietly, can anyone help? (The .vbs script is in a temporary location until i find a home for it)

ECHO ON

cscript "C:\Documents and Settings\testuser\Desktop\DeletePrinters.vbs"

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\main01-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\poen13-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\eng01-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\inte01-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\cad01-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\tech01-64

Rundll32 printui.dll,PrintUIEntry /in /y /q /n\\server1\tech01-64

PAUSE


Thank you,

Richard

Post Reply