10 lines
283 B
Batchfile
10 lines
283 B
Batchfile
@echo off
|
|
title Detener AidsMonitoring
|
|
echo Deteniendo AidsMonitoring (puerto 5503)...
|
|
for /f "tokens=5" %%a in ('netstat -aon ^| findstr ":5503 " ^| findstr "LISTENING"') do (
|
|
echo Terminando proceso PID %%a...
|
|
taskkill /F /PID %%a >nul 2>&1
|
|
)
|
|
echo Listo.
|
|
timeout /t 2 >nul
|