可以调用,不过没必要.
You can type a command to have the virus scanner check the files of various download managers and backup programs. Use Luke Filewalker, the graphical interface of AntiVir protection, with the following configuration arametres.
It is not case-sensitive, but the directories must be written between double quotes.
/CFG=”…” path to the file with scanning profile.
/PATH=”..:” path to the directory or file to be scanned
Examples:
C:\Program Files\Avira\AntiVir ...\avscan.exe /CFG=”C:\Program Files\Avira\AntiVir ...\scan.avp”
C:\Program Files\Avira\AntiVir ...\avscan.exe /PATH=”%WINDIR%”
C:\Program Files\Avira\AntiVir ...\avscan.exe /PATH=”C:\Downloads\”
C:\Program Files\Avira\AntiVir ...\avscan.exe /PATH=”C:\Downloads\%1”
AntiVir Scanner will use the configuration specified in AntiVir -> Configuration -> Scanner. So if you have selected "scan master boot records", these will be scanned everytime avscan.exe is started. If you find this inconvenient because scanning a single file takes a little longer, there is a workaround for scanning only the specified file:
- download the filescan.avp profile from the link below. Link
Save it on your hard disk, then right-click the file, select Properties, and tick Read-Only. Then click OK to close the Properties window.
- then use this profile in the /CFG parameter. For example, to use AntiVir with WinRAR, you need to specify the following:
Virus scanner name:
C:\Program Files\Avira\AntiVir ...\avscan.exe
Virus scanner parameters:
/CFG="C:\filescan.avp" /PATH="%f"
You can also use the Avira AntiVir Command Line Scanner AVCLS with more detailed configuration possibilities. It can be downloaded from Avira website, under Support -> Downloads. Please read the installation guide and the description of parameters in the downloaded text file. |