目录
查看端口
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