Command line scanner
Добавлено через 1 минуту и 17 секунд
| Код | FAQ, Tips :: Command line scanner The AVCMD Command line scanner supplied with Avira AntiVir PersonalEdition Classic enables you to control the scan for viruses and unwanted programs by command line. Various command line parameters are available for controlling the scan.
Usage is
AVCMD [options] [path[*.ext]] [*.ext]
List of parameters
Parameter Description -? / -h Displays the help text -allfiles Scan all files -defext Only scans files with the defined standard extensions -allboot Scan all boot records -alldrives Scan all drives -allhard Scan all hard disks -allremote Scan all network drives -wub Save unknown boot records to file '.ukb.sav' -s Scan subdirectories -z Files in archives will be extracted and scanned -noboot Do not check any boot records -nombr Do not check any master boot records -nobreak No abort possible via Ctrl-C or Ctrl-Break -v Verbose scan mode -nopack Do not scan inside packed files -e [-del | -ren] Repair detected files if possible [-del] non-repairable files will be deleted [-ren] non-reparable files are renamed -ren Rename detected files (*.COM->*.VOM,...) -del Delete detected files -dmnoheur Disable macro heuristic -dmdel Delete documents containing suspicious macros -dmdas Delete all macros if one appears to be suspicious -dmse Set exit code to 101 if any macro was found -heuristic[:|=]1 Heuristic detection level low -heuristic[:|=]2 Heuristic detection level medium -heuristic[:|=]3 Heuristic detection level high -r1 Just log infections and warnings -r2 Log all scanned paths in addition -r3 Log all scanned files -r4 Select verbose log mode -rs Select single-line log messages -rf<filename> Name of log file ? d = day, ?m = month, ?y = year (two digits each) -ra Append new log data to existing file -ro Overwrite existing log file -q Quiet mode -lang[:|=]DE Use German texts -lang[:|=]EN Use English texts -once Run AVCMD Command line scanner only once a day -x<dir> AVCMD Command line scanner looks for it's files e.g. antivir3.vdf in <dir> -tmp<dir> Specify the directory for temporary files -if<filename> AVCMD Command line scanner uses the given ini file -kf<filename> AVCMD Command line scanner uses the given license file (hbedv.key) -with-<type> Detects unwanted programs, like "dial", "joke", "game", "bdc", "heur-dblext", "pck", "spr" The following types are enabled by default: "dial", "bdc", "heur-dblext" -without-<type> Like -with-<type>, but disables this type -alltypes Combination of all known -with-<type> options -qua-<type> <dir> The quarantine function enables detected files to be isolated in a special directory by specifying: "-qua-move <dir>", "-qua-copy <dir>" bzw. "-qua-restore <dir>", "-qua-delete <dir>" to restore or delete files @<rspdatei> Read parameters from the file <rspfile> with each option in a separate line
List of return codes:
Return codes Description 0 Normal program termination, no malware, no error 1 Signature was found in a file or boot sector 2 A signature was found in memory 3 Suspicious file found 100 AVCMD Command line scanner only has displayed this help text 101 A macro was found in a document file 102 The parameter -once was given and AVCMD Command line scanner already ran today 200 Program aborted, not enough memory available 201 The given response file could not be found 202 Within a response file another @<rsp> directive was found 203 Invalid parameter 204 Invalid (non-existent) directory given at command line 205 The log file could not be created 210 AVCMD Command line scanner could not find a necessary dll file 211 Program aborted, because the self check failed 212 Virus definition file could not be found or read error 213 An error occurred during initializations
Examples
Scan all files on drive C:
AVCMD -s C:\*
Scan program files on drive C: and D:.
AVCMD C:\ D:\ -s
|
|