650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/08/45/wKiom1ne2x-jb73JAAOQElXOKj8977.jpg "title=" Netstat.jpg "alt=" Wkiom1ne2x-jb73jaaoqelxokj8977.jpg "/>
Netstat--help# get help
Netstat-an > C:\aaa.txt #将显示的结果输入到C盘aaa. txt files
Netstat-ano | Find "443" #查看443端口
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/08/44/wKiom1ne0l7j2dUlAAEmJFFbWFI303.jpg "title=" Netstat.jpg "alt=" Wkiom1ne0l7j2dulaaemjffbwfi303.jpg "/>
@echo off
Netstat-an > C:\t.txt #在C盘创建文件名为t. txt
Type C:\t.txt | Find ":" > Tmp.txt && echo "FTP is running ...."
Type C:\t.txt | Find ":" > Tmp.txt && echo "HTTP is running ...."
Pause
Type C:\t.txt | Find ": 123" > Tmp.txt && echo "hehe is running ..."
Pause
Del C:\t.txt
:: This is my test to detect whether the services are turned on
This article is from the "Ma Guange-Blog" blog, please be sure to keep this source http://maguangjie.blog.51cto.com/11214671/1971626
Windows View Port command