as I wrote, your code will always fail
Code: Select all
If %b%==%0% (
Goto Loop
)
If %b%==%1% (
Goto Loop
)
If %b%==%2% (
Goto Loop
)
You should try to debug it with some echo lines, like
echo %b% == %0%
to see why it will fail
jeb