echo Testen, ob neue DAT angekommen ... if not exist \Antivirussdat*.exe goto ERR1 dir /b \Antivirussdat*.exe > AVneu.dat fc /l AVneu.dat AValt.dat >nul if %errorlevel% neq 0 ( echo Neue Version angekommen: type AVneu.dat FOR /F „eol= tokens=1 delims= „ %%A IN ("dir \Antivirussdat*.exe") DO echo %%A >> AVdat.lst net send %COMPUTERNAME% NAI-update angekommen! 1>nul 2>nul echo Antivirus-Verzeichnis leeren... rd c:AntivirusCurrent /s /q echo. del c:Antivirus*.* /q /f echo. echo %date%, %time% copy AVneu.dat AValt.dat >nul ) else ( echo Keine Aktualisierung gefunden! Jetzige Version: type AValt.dat)