CODE: [Copy to clipboard]@echo off for %%i in ("源 IP 地址" "源掩码" "目标 IP 地址" "目标掩码" "源端口" "目标端口") do findstr /r /c:"\<%%~i\>" 1.txt pause>nul