I'm making a script to add 3 new copiers on the floor and delete the old 3.
here are the lines I'm using for each action:
rundll32 printui.dll,PrintUIEntry /in /n "\\server\copier"
rundll32 printui.dll,PrintUIEntry /dn /n "\\server\copier"
I had all 3 of the old copiers so the script ran normally. I ran it again when I didn't have any of the old 3 and it had a stop error on each. How do I get it to continue through the error if the copier is not found and proceed to the next one?
here are the lines I'm using for each action:
rundll32 printui.dll,PrintUIEntry /in /n "\\server\copier"
rundll32 printui.dll,PrintUIEntry /dn /n "\\server\copier"
I had all 3 of the old copiers so the script ran normally. I ran it again when I didn't have any of the old 3 and it had a stop error on each. How do I get it to continue through the error if the copier is not found and proceed to the next one?