try this:
if 3 gtr 2 @echo "biggger"
This outputs:
"biggger"

The other operators are:
EQU – equal
NEQ – not equal
LSS – less than
LEQ – less than or equal
GTR – greater than
GEQ – greater than or equal
Reference
- Microsoft TechNet | Windows Server 2012 | Command-line Reference: If (Archived here)
- SS64: If (Archived here)