命令行打印某个程序的socket信息

for /f "tokens=2" %i in ('tasklist^|findstr /i qq.exe') do set a=%i &(netstat -ano | findstr /i %a%)

猜你喜欢

转载自blog.csdn.net/zimu2702/article/details/9024905