mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
7 lines
117 B
Batchfile
7 lines
117 B
Batchfile
@echo off
|
|
for /f "tokens=5" %%i in ('netstat -aon ^| findstr ":8081"') do (
|
|
set n=%%i
|
|
)
|
|
taskkill /f /pid %n%
|
|
|
|
cmd |