Neil that! Its the same codes of the mac!
My script had a error! Now its ok!
@echo off
"C:\Program Files (x86)\Kaspersky Lab\KES.12.1.0\avp.com" SCAN %1 /RA:"C:\Program Files (x86)\hMailServer\Logs\kaspersky.log"
rem echo %errorlevel%
if %errorlevel% == 0 goto novirus
if %errorlevel% == 101 goto somethingbad
if %errorlevel% == 102 goto somethingbad
:novirus
echo Success!
exit /b 0
:somethingbad
echo Virus!
exit /b 250