I need to mention if %Var1% <> A echo "It is not equal to A"
But it doesn't seems working. The issue is with 'not equal thing <>' Can please some one help??
if %var1% NEQ A echo NOT the usual syntax of <> is not used due to piping issues. from command prompt, see: if /?. ps: also good to use quotes to help defeat hidden spaces:
if "%var1%" neq "A" echo NOT
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |