Windows通过端口查看进程路径

目录

查看端口

查看进程名称

查看进程路径

查看所有进程信息

参考文献


查看端口

netstat -nao

TCP    0.0.0.0:2233           0.0.0.0:0              LISTENING       5000

查看进程名称

tasklist | findstr "5000"

StorageServer.exe             5000 Services                   0      3,844 K

查看进程路径

wmic process where name="StorageServer.exe" get executablepath

C:\Program Files (x86)\StorageService\StorageServer.exe

查看所有进程信息

wmic process get CSName,Description,ExecutablePath,ProcessId

参考文献

https://zhidao.baidu.com/question/1998084658682606067.html

https://blog.csdn.net/chenhao0568/article/details/126530520

https://mohen.blog.csdn.net/article/details/130177018

猜你喜欢

转载自blog.csdn.net/u012206617/article/details/130173949