Close windows bat

OFF echo
ipconfig / All
netstat -ano
echo Please check the above information, enter the occupied port number:
the SET / Port = enter the p-Port:
tasklist | findstr% Port%
echo Please enter a combination of these procedures, please enter carefully ** * *
the SET / Program = Please enter the p-ended process name:
taskkill / f / t / IM Program%%
PAUSE

Guess you like

Origin www.cnblogs.com/ciscolee/p/12100832.html