I found just a nice script how to schedule a script to remove Mcafee DAT files for groupshield.
@echo off
rem ********************************************************
rem *
rem * REMOVE OLD DAT FILES SCRIPT
rem *
rem * Designed for: McAfee Groupshield for Exchange 6.x
rem * Designed by:
rem * Website:
rem *
rem ********************************************************
rem ————————————————–
rem — SET The directory Groupshield is installed in:
rem ————————————————–
set INSTALL_DIR = “%ProgramFiles%\Network Associates\McAfee Groupshield”
rem ———————————————-
rem — SET The number of old dat files to retain:
rem ———————————————-
set NUM_DATS = 1
rem ———————————————-
rem — DO NOT CHANGE ANYTHING BELOW THIS LINE!
rem ———————————————-
if not exist %INSTALL_DIR%\Bin\PurgeOldDefinitions.exe goto GSE_NOT_EXIST
%INSTALL_DIR%\Bin\PurgeOldDefinitions.exe %NUM_DATS%
goto END
:GSE_NOT_EXIST
echo “Groupshield is not or not correctly installed”
:END
exit