General discussion

Locked

How to Script Printer Removals

By Computer Dude ·
Hi all,
I'm trying to create a vbs script that will enable me to automate the process of removing some old printer connections. I'm fairly new at scripting, so I'm not sure of the finer points.

So far, I have created a script to remove the network connection, but the caveat is that if the printer connection does not exist, a window pops up saying... the printer connection does not exist. Is there a way that I can alter the code so that if the network printer connection is not present than it will proceed without the pop up window so that everything is transparent to the user?

This conversation is currently closed to new comments.

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

All Comments

Collapse -

Wrong forum.

by deepsand In reply to How to Script Printer Rem ...

This is a tech. problem, in search of a solution.

It properly belongs in "Technical Q&A," not in "Discussions." Please re-post there.

Not only will you be more likely to attract the attention of those seeking to provide answers, but you will also make it easier for those seeking discussions to find such.

Thank you.

Back to Desktop Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums