From f63584c0fccf797959d610b7ac6feae3ddd3fa79 Mon Sep 17 00:00:00 2001 From: Brad Ganley Date: Mon, 13 May 2024 15:10:31 -0500 Subject: [PATCH] fixed ac --- tcpcon.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpcon.bat b/tcpcon.bat index 309d3ef..77af896 100644 --- a/tcpcon.bat +++ b/tcpcon.bat @@ -12,7 +12,7 @@ if "%option%"=="a" ( ) else if "%option%"=="e" ( netstat -an | findstr /c:"ESTABLISHED" ) else if "%option%"=="ac" ( - netstat -an | findstr /c:"TCP" /c:"Active Connections" + netstat -an | find /c /v "" ) else if "%option%"=="ec" ( netstat -an | findstr /c:"ESTABLISHED" | find /c /v "" ) else (