@echo off
setlocal EnableExtensions
title NexaOffice - Force Exit
echo ============================================
echo NexaOffice Force Exit
echo ============================================
echo.
echo This closes NexaOffice processes if the tray menu is not available.
echo.
choice /C YN /M "Close NexaOffice now"
if errorlevel 2 exit /b 0

taskkill /F /IM NexaOffice.exe >nul 2>nul
taskkill /F /IM NexaOffice_WorkSuite.exe >nul 2>nul

echo.
echo Done. NexaOffice process close command has been sent.
pause
