Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

script command kill process for specific port windows 10

FOR /F "tokens=4 delims= " %%P IN ('netstat -a -n -o ^| findstr :8080') DO @ECHO TaskKill.exe /PID %%P
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #script #command #kill #process #specific #port #windows
ADD COMMENT
Topic
Name
1+2 =