For your purposes, you really don't need the GOTO
. But, if you need to do more than two things and/or keep things more readable, you can do this too:
IF /I '%BRAND%'=='T' (
REN C:\U.bmp V.bmp /y
GOTO OK
)
IF /I '%BRAND%'=='M' (
REN C:\W.bmp X.bmp /y
GOTO OK
)
IF /I '%BRAND%'=='P' (
REN C:\Y.bmp Z.bmp /y
GOTO OK
)