@echo off IF EXIST "%ProgramFiles%\ESET\ESET Endpoint Antivirus\ecls.exe" ( "%ProgramFiles%\ESET\ESET Endpoint Antivirus\ecls.exe" /base-dir="%ProgramFiles%\ESET\ESET Endpoint Antivirus" /auto /log-file=c:\ecls.txt /aind echo "EEA" >> c:\ecls.txt ) ELSE IF EXIST "%ProgramFiles%\ESET\ESET Security\ecls.exe" ( "%ProgramFiles%\ESET\ESET Security\ecls.exe" /auto /log-file=c:\ecls.txt /aind echo "ES" >> c:\ecls.txt ) ELSE IF EXIST "%ProgramFiles%\ESET\ESET Endpoint Security\ecls.exe" ( "%ProgramFiles%\ESET\ESET Endpoint Security\ecls.exe" /base-dir="%ProgramFiles%\ESET\ESET Endpoint Security" /auto /log-file=c:\ecls.txt /aind echo "EES" >> c:\ecls.txt ) ELSE IF EXIST "%ProgramFiles%\ESET\ESET NOD32 Antivirus\ecls.exe" ( "%ProgramFiles%\ESET\ESET NOD32 Antivirus\ecls.exe" /auto /log-file=c:\ecls.txt /aind echo "EAV" >> c:\ecls.txt ) ELSE IF EXIST "%ProgramFiles%\ESET\ESET Smart Security\ecls.exe" ( "%ProgramFiles%\ESET\ESET Smart Security\ecls.exe" /auto /log-file=c:\ecls.txt /aind echo "ESS" >> c:\ecls.txt ) ELSE IF EXIST "%ProgramFiles%\ESET\ESET Internet Security\ecls.exe" ( "%ProgramFiles%\ESET\ESET Internet Security\ecls.exe" /auto /log-file=c:\ecls.txt /aind echo "EIS" >> c:\ecls.txt ) ELSE IF EXIST "%ProgramFiles%\ESET\ESET Smart Security Premium\ecls.exe" ( "%ProgramFiles%\ESET\ESET Smart Security Premium\ecls.exe" /auto /log-file=c:\ecls.txt /aind echo "ESSP" >> c:\ecls.txt ) ELSE IF EXIST "%ProgramFiles%\ESET\ESET Mail Security\ecls.exe" ( "%ProgramFiles%\ESET\ESET Mail Security\ecls.exe" /base-dir="%ProgramFiles%\ESET\ESET Mail Security" /auto /log-file=c:\ecls.txt /aind echo "EMS" >> c:\ecls.txt ) ELSE IF EXIST "%ProgramFiles%\ESET\ESET File Security\ecls.exe" ( "%ProgramFiles%\ESET\ESET File Security\ecls.exe" /base-dir="%ProgramFiles%\ESET\ESET File Security" /auto /log-file=c:\ecls.txt /aind echo "EFS" >> c:\ecls.txt ) ELSE ( echo "No installed ESET found" echo "No installed ESET found" > c:\ecls.txt GOTO :eo ) IF %ERRORLEVEL% == 0 GOTO e0 IF %ERRORLEVEL% == 1 GOTO e1 IF %ERRORLEVEL% == 10 GOTO e10 IF %ERRORLEVEL% == 50 GOTO e50 IF %ERRORLEVEL% == 100 GOTO e100 IF %ERRORLEVEL% GTR 0 GOTO eo :e0 echo. echo "No Virus detected" goto end :e1 echo. echo "All detected Viruses cleaned" goto end :e10 echo. echo "Some files could not be checked" goto end :e50 echo. echo "Some infection found but not all cleaned" goto end :e100 echo. echo "an error occured" goto end :eo echo. echo "an error occured" goto end :end echo. echo "Please attach C:\ecls.txt to the eMail to ESET Customer Care" echo.