MBF Knowledge Base

This is the correct SCANFILE line to add to Declude's virus.cfg if you are wanting to use ESET Endpoint Security for Windows version 6.6 as a command-line virus scanner in Declude.

(A big thank you to one of our community members, John Tolmachoff of Quest Components, Inc. for providing this to us.)

OLD LINE (This is no longer being used because it no longer works)

SCANFILE C:\Progra~1\ESET\ecls.exe /base-dir="C:\Program Files\ESET\ESET Endpoint AntiVirus" /mail /no-boots /sfx /rtp /adware /unsafe /unwanted /pattern /heur /clean-mode=NONE /no-quarantine /no-log-console /log-file=report.txt


SCANFILE C:\ECLS\ecls.exe /mail /no-boots /sfx /rtp /adware /unsafe /unwanted /pattern /heur /clean-mode=NONE /no-quarantine /no-log-console /log-file=report.txt

Important Notes:

With 6.x, the functionality of the ecls.exe changed a bit. The biggest key is that it in no way, no longer supports any space in any path. Under 5.x it did support a space in the path of the main parameter as long is it was within quotes.

The key is the “/base-dir=” parameter. While it is still included, it no longer supports quotes and it is no longer needed as the ecls.exe MUST BE RUN from the installation directory. Before, you could run the ecls.exe from anywhere and use the “/base-dir=” parameter to designate where all the run files are located.

You may also have to implement an hourly script to copy all new files from the installation directory (signature and program updates) to the special directory “C:\ECLS\” if you created one.

In theory, you could do the installation to a different specified folder so that there are NO spaces in the path name, (this will avoid having to run a script to copy files) but in a company using management tools, that would then create a one-off non-standard installation to maintain.