@echo off
setlocal
set "DIR=%~dp0"
cd /d "%DIR%"
set "AGENT=%DIR%percepta-agent.exe"
if not exist "%AGENT%" (
  echo Agent executable not found: %AGENT%
  exit /b 1
)
echo Starting Percepta SIEM Agent...
start "" "%AGENT%"
echo If you want background service installation, run install.ps1 as Administrator.
