Installation manual

69
4.1.4.4 Command Line
ESET Mail Security’s antivirus module can be launched via the command line – manually (with the “ecls” command)
or with a batch (“bat”) file.
The following parameters and switches can be used while running the On-demand scanner from the command
line:
General options:
– help
show help and quit
– version
show version information and quit
– base-dir = FOLDER
load modules from FOLDER
– quar-dir = FOLDER
quarantine FOLDER
– aind
show activity indicator
Targets:
– files
scan files (default)
– no-files
do not scan files
– boots
scan boot sectors (default)
– no-boots
do not scan boot sectorsk
– arch
scan archives (default)
– no-arch
do not scan archives
– max-archive-level = LEVEL
maximum archive nesting LEVEL
– scan-timeout = LIMIT
scan archives for LIMIT seconds at maximum. If the
scanning time reaches this limit, the scanning of the
archive is stopped and the scan will continue with the
next file.
– max-arch-size=SIZE
scan only the first SIZE bytes in archives (default 0 =
unlimited)
– mail
scan email files
– no-mail
do not scan email files
– sfx
scan self-extracting archives
– no-sfx
do not scan self-extracting archives
– rtp
scan runtime packers
– no-rtp
do not scan runtime packers
– exclude = FOLDER
exclude FOLDER from scanning
– subdir
scan subfolders (default)
– no-subdir
do not scan subfolders
– max-subdir-level = LEVEL
maximum subfolder nesting LEVEL (default 0 =
unlimited)
– symlink
follow symbolic links (default)
– no-symlink
skip symbolic links
– ext-remove = EXTENSIONS
– ext-exclude = EXTENSIONS
exclude EXTENSIONS delimited by colon from scanning