Created
November 15, 2018 09:27
PORTKILLER
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 Enter the correct port in place of the PORT inscription | |
REM eg. for /f "tokens=5" %a in ('netstat -ano ^| findstr ":8080" ^| findstr ^1') do taskkill /f /PID %a | |
for /f "tokens=5" %a in ('netstat -ano ^| findstr ":PORT" ^| findstr ^1') do taskkill /f /PID %a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment