windows下bat脚本关闭某端口服务

@echo off
set port=8088
for /f "tokens=1-5" %%i in ('netstat -ano^|findstr ":%port%"') do taskkill /pid %%mtoken

相关文章
相关标签/搜索