Maybe you want something else.
In Boolean logic OR is inclusive, not exclusive.
Do you want to say either but not both? You use the XOR which is exclusive.
Do that make sense? Lets say A could be 0 or 1 and B could be 0 or 1. You want the case where A or B has a value f 1, but not both.
You would have something like like this
if A + B = 0 goto getouttahere
if A + B = 2 goto getouttahere
some commands
....
:getouttahere
Sorry that is not real batch code, but you get the idea.