cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 9

McAfee Enterprise 8.8 : command line to find version of DAT

Hello,

I would like to know the command line to find the version of the DAT file.

I don't want to use the graphic interface.

Or maybe, there is a file inside the Windows system where I can find the good value.

For exemple : today is 7221.0000

Regards,

Message was edited by: cyrker on 10/8/13 10:06:27 AM CDT
8 Replies
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 9

Re: McAfee Enterprise 8.8 : command line to find version of DAT

I just find it :

UpdateLog.txt

Former Member
Not applicable
Report Inappropriate Content
Message 3 of 9

Re: McAfee Enterprise 8.8 : command line to find version of DAT

Hello,

WHY under Windows XP, the log "UpdateLog.txt" use the date format like this MM/D/YYYY ?

WHY NOT use this format : MM/DD/YYYY ?
I mean 2 letter for the day, not only 1 !  (01,02,03,04,09,10,11 to 31)

Is there a fix for this BUG ?

Regards,

Former Member
Not applicable
Report Inappropriate Content
Message 4 of 9

Re: McAfee Enterprise 8.8 : command line to find version of DAT

Under Windows 2008, the date format use 2 letter for the day ...

Former Member
Not applicable
Report Inappropriate Content
Message 5 of 9

Re: McAfee Enterprise 8.8 : command line to find version of DAT

How to be sure to be NOT ALONE on this forum ?

Former Member
Not applicable
Report Inappropriate Content
Message 6 of 9

Re: McAfee Enterprise 8.8 : command line to find version of DAT

To answer the original question, you can use csscan.exe:

>csscan.exe -Versions | find "DAT"

    DAT version:    7222.0

You will find csscan.exe in:

"C:\Program Files\Common Files\McAfee\SystemCore"

rmetzger
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 7 of 9

Re: McAfee Enterprise 8.8 : command line to find version of DAT

Hi cyrker,

Welcome to the forums.

cyrker wrote:

Hello,

I would like to know the command line to find the version of the DAT file.

I don't want to use the graphic interface.

Or maybe, there is a file inside the Windows system where I can find the good value.

For exemple : today is 7221.0000

If you are looking for what is currently installed:

for /F "usebackq skip=2 tokens=1-2*" %%G in (`Reg QUERY "HKLM\SOFTWARE\McAfee\AVEngine" /v "AVDatDate" 2^>NUL`) do set AVDatDate=%%I

for /F "usebackq skip=2 tokens=1-2*" %%G in (`Reg QUERY "HKLM\SOFTWARE\McAfee\AVEngine" /v "AVDatVersion" 2^>NUL`) do set /a AVDatVersion=%%I

echo %AVDatDate% is %AVDatVersion%

This should output something like this:

2013/10/09 is 7223

As for the version available for download:

Download http://update.nai.com/products/commonupdater/gdeltaavv.ini

(Use your favorite command line tool, such as wget or curl).

Within gdeltaavv.ini:

for /F "usebackq skip=2 delims== tokens=1,2*" %%m in (`Find /I "CurrentVersion" gdeltaavv.ini 2^>NUL`) do set /a CurrentVersion=%%n

for /F "usebackq skip=2 delims== tokens=1,2*" %%m in (`Find /I "Created" gdeltaavv.ini 2^>NUL`) do set Created=%%n

echo  CurrentVersion=%CurrentVersion% created on %Created%

This should output something like this:

CurrentVersion=7224 created on Thu Oct 10 06:22:09 2013

Hope this helps.

Ron Metzger

Message was edited by: rmetzger on 10/10/13 12:02:13 PM EDT
Thanks,
Ron Metzger

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

Re: McAfee Enterprise 8.8 : command line to find version of DAT

do you have replacement for 

Download "http://update**personal information omitted**.com/products/commonupdater/gdeltaavv.ini " for am-core updates content update as our most systems are now ENS installed. 

rmetzger
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 9 of 9

Re: McAfee Enterprise 8.8 : command line to find version of DAT

Hi User48264114 

"do you have replacement for 

Download "http://update**personal information omitted**.com/products/commonupdater/gdeltaavv.ini " for am-core updates content update as our most systems are now ENS installed. "

https://update. nai .com /products/commonupdater/current/med_dat_1000/dat/0000/gdeltamed.ini

https://update. nai .com /products/commonupdater2/current/med_dat_1000/dat/0000/gdeltamed.ini

https://update. nai .com /products/commonupdater3/current/med_dat_1000/dat/0000/gdeltamed.ini

remove spaces in . nai .

 

Thanks,
Ron Metzger

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community