@echo offset /p input=请输入:set num1=%input%set num2=123if %num1% equ %num2% echo "="if %num1% lss %num2% echo "<"if %num1% gtr %num2% echo ">"pause>nul
你试一下这个,就知道了,有问题再追问吧,望采纳。
(注:如果变量参与计算的话最好还是 set /a num=1+2)
set a=326532
ser var =