On Tue, 28 Sep 2004 17:28:52 -0700, "camron" <(E-Mail Removed)>
wrote:
>I am using the following Batch Script to install printers
>on all of the computers i administer. Its easy this way.
>
>start script:: rundll32
>printui.dll,PrintUIEntry /in /n "\\131.47.183.130\Big
>Color 106" ::end script
>
>I want a script that will delete all of the printers
>before this script loads. so when they log on, any
>printers that are there will delete, and i can add the
>ones they need.
>
>this is because printers' ip's and name's change, plus
>they add printers they dont need. so its easy to manage
>from one script.
>
>can anyone give me a syntax that will delete all the
>printers on a given users profile that can be put in a
>batch script?
>
>
>thanks
>
>camron
See tip 2014 in the 'Tips & Tricks' at
http://www.jsiinc.com
Also, you may want to reset their default printer after you install them.
See tip 672 for the registry entry (also 7281).
Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com