netstat -a -n -o | findstr :80 TaskKill /PID pidnum
FOR /F ... %variable IN ('command') DO otherCommand %variable...