remove port binding windows
netstat -a -n -o | findstr :80
TaskKill /PID pidnum
4.17
6
FOR /F "tokens=4 delims= " %%P IN ('netstat -a -n -o ^| findstr :8080') DO TaskKill.exe /PID %%P
Thank you!
6
0
0
5
FOR /F "tokens=4 delims= " %%P IN ('netstat -a -n -o ^| findstr :8080') DO TaskKill.exe /PID %%P
Thank you!
5
0
4.6
9
%%P instead of %P
Thank you!
9
0
5
1
findstr :8080
Thank you!
1
0
4
10
%%P instead of %P
Thank you!
10
0
Are there any code examples left?
New code examples in category Shell/Bash