Created
March 30, 2015 01:36
-
-
Save iambigd/fcc2c5be78613755b204 to your computer and use it in GitHub Desktop.
殺掉佔用8080 port的process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem @echo off | |
FOR /F "tokens=5" %%P IN ('netstat -ano ^| findstr " 8080.*LISTENING " ') DO TaskKill.exe /PID %%P /T /F | |
pause | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment