0
运行此批处理脚本时,结果始终相同。我相信我在语法中缺少一些东西。我错过了什么?Netstat批处理程序
@echo off
netstat -an | find /C "LIST" > tmpFile
set test=<tmpFile
del tmpFile
set max=6
IF !%test! GTR !max! echo Greater than X
IF !%test! LEQ !max! echo Less than X
PAUSE
:EOF