I am working on the mcafee batch updates linked to on declude.com I am trying to customize the file for a special case, and to rewrite one to download the latest McAfee engine instead of SDAT for that, i need some help understanding the lines below any hints welcomed mainly, how do we get the latest sdat filename to execute. and how do we expand and/or execute it, and in which directory it expand. Thanks in advance, especialy for the person who first wrote and shared these files.
:ProcessSDAT SET T=0 for /F %%I in ('dir %DownloadDir%\sdat4*.exe /a-d-s /b /o:-n') do call :RunSDAT %DownloadDir%\%%I %unzipcmd% %DownloadDir%\DAILYDAT.zip %unziptail% del %SDATLog% goto END :RunSDAT SET /a T = 1+%T% if %T% EQU 1 start /wait %1 -logfile %SDATLog% -e %scandrv%%scandir% if %T% LEQ 3 goto :RunSDAT_exit if exist %1 del /F %1 :RunSDAT_exit goto :EOF :END ENDLOCAL --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.Virus mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.Virus". The archives can be found at http://www.mail-archive.com.