CODE: [Copy to clipboard]For /f "tokens=5" %%a in ('netstat -ano ^| find ":1065" ') do taskkill /pid %%a