how can i exclude printers from my batch file

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
bramsharon
Posts: 32
Joined: 07 Sep 2012 03:50

Re: how can i exclude printers from my batch file

#31 Post by bramsharon » 13 Sep 2012 09:42

yes that part works, but when i choose one, it gets an error

abc0502
Posts: 1007
Joined: 26 Oct 2011 22:38
Location: Egypt

Re: how can i exclude printers from my batch file

#32 Post by abc0502 » 13 Sep 2012 09:53

the error must be in the command that set the printer
add befor that line these two lines and tell us the output

Code: Select all

echo %printer%
pause

bramsharon
Posts: 32
Joined: 07 Sep 2012 03:50

Re: how can i exclude printers from my batch file

#33 Post by bramsharon » 13 Sep 2012 12:35

i tested the script again at home and there it does work perfectly. weird. tomorrow at work i will try it again. don't understand why it didn't work today.

Post Reply