I have a Variable in my Batch %rev%
I need to check whether it contains a string "new" or it has a value of random numbers in it.
Any help Appreciated.
I was trying with the below code but it doesnt work.
if /I "%rev%"=="new" (
echo String has new
) else (
echo it doesnt has new
)