1. 命令行执行小红伞Avira扫描指定文件
命令和参数如下
"小红伞扫描软件路径" /CFG="小红伞扫描辅助scan.avp路径" /PATH="待扫描文件路径"
举例:"C:\Program Files (x86)\Avira\Antivirus\avscan.exe" /CFG="C:\Program Files (x86)\Avira\Antivirus\scan.avp"
"C:\Program Files (x86)\Avira\Antivirus\avscan.exe" /PATH="%WINDIR%"
"C:\Program Files (x86)\Avira\Antivirus\avscan.exe" /PATH="C:\Downloads\"
"C:\Program Files (x86)\Avira\Antivirus\avscan.exe" /PATH="C:\Downloads\%1"
scan.avp下载路径:
https://support.avira.com/hc/en-us/article_attachments/360001656529/filescan.avp
2. 利用解压文件winrar或者7-zip解压文件。
需要下载官方filescan.avp,下载后设置属性为只读 Read-only.
https://support.avira.com/hc/en-us/article_attachments/360001656529/filescan.avp。
参数配置:/CFG="C:\filescan.avp" /PATH="%f"
参考链接
小红伞 Avira 命令行执行扫描:
https://support.avira.com/hc/en-us/articles/360000971889-How-do-I-start-Avira-System-Scanner-from-the-command-line-