|Product:||F-PROT Antivirus for Windows|
|What are the F-PROT Antivirus Command-Line Scanner command-line options?|
Usage: fpscan [MEDIA][OPTIONS][PATHS]
MEDIA are ALL, LOCAL, NETWORK or BOOT
OPTIONS are any combination of legal options (scanning, disinfection and additional disinfection options)
PATHS are one or more paths to scan (A: C: D:).
Note: If MEDIA is specified, PATHS are optional. If PATHS are given MEDIA is optional. OPTIONS and MEDIA specifiers are not case sensitive.
Please select which F-PROT Antivirus Command-Line Scanner options you would like to learn:
|-a, /all||Scan every files found on your computer. Specifying additional paths after this switch has no effect since any path is a subset of all. Boot sectors will also be scanned.|
|-l, /local||Scan all local disks/partitions. Specifying additional paths causes those paths to be scanned as well.|
|-n, /network||Scan every files on every network drive/share. Specifying additional paths causes those paths to be scanned as well.|
|-b, /boot||Scan all boot sectors.|
To scan all drives/shares and boot sectors, type the command:
To scan local disk partitions, type the command:
When infected files found during a scan, F-PROT Antivirus Command-Line Scanner will ask you if disinfection should be attempted. For further information, see Disinfection options.
|-t, /streams||Scan inside NTFS streams.|
|-f, /follow||Follow symbolic links. Symlinks, when specified as paths on the command-line are always followed, regardless of this option.|
|/maxdepth=n||Descend at most n levels of directories below a given scanpath. The default setting is 30.|
|-s n, /scanlevel=n||How deep the level of scanning should be used (0 <= n <=4). The default setting is 2:
0 Disable regular scanning (only heuristics).
1 Skip suspicious data files. Not recommend if filename is unavailable.
2 Unknown and/or wrong extensions will be emulated (default).
3 Unknown binaries emulated.
4 For scanning virus collections, no limits for emulation.
|/heurlevel=n||How aggressive heuristic should be used (0 <=n <=4). The default setting is 2. Higher levels means more heuristic tests are done which increases both detection rates and risk of false positives.|
|-z n, /archive=n||How deep inside nested archives to scan (0 <=n <=99). The default setting is 5.|
|/adware||Scan for and report/act on adware in addition to viruses and worms.|
|/applications||Scan for and report/act on applications that may constitute security risks. This includes remote access tools which users should regard as malware if installed without their knowledge or consent. The same program could be a perfectly valid and useful tools for another person, so the definition of what should be considered malware in this category must come from the user.|
|-v n, /verbose=n||Report infections found on your computer (0 <=n <=2). The default setting is 1:
0 Report infections only.
1 Report infections and scan errors (default).
2 Report all files as they are processed, as well as all warnings and errors.
|/signature=FILE||By default the virus signature file is loaded from the first folder in CSIDL_COMMON_APPDATA\FRISK Software\ where a valid file is found. If not found here then the folder where the command-line scanner is located is searched.||-e LIST, /exclude=LIST||Do not scan files and directories that match entries in LIST. LIST should be a comma separated list of paths. The '*' character may be used as a wildcard. If entry ends with a path separator ('\'), any directory that matches the entry will be skipped entirely. See examples below.|
To scan all drives/shares and boot sectors and boot sectors with specific archive level to 3, type the command:
fpscan /all /archive=2
To exclude the folder C:\Windows\Temp and all it's contents, type:
To exclude all "tmp" folders, type the command:
To exclude a specific file "janedoe.zip"
To exclude "C:\Windows" and all subfolders as well as all files in C:\Archives ending in .zip.
fpscan /exclude=C:\Windows\*, C:\Archives\*.zip
|-o <FILENAME>, /output=<FILENAME>||Send output to FILE instead of stdout. This option is unnecessary if "/report" disinfection option is given in a scan.|
To scan all drives/shares and boot sectors then, displays output as "fpscan_report", type the command:
fpscan /all /output=<fpscan_report>
|Disinfection options||Description||/disinfect||Automatically disinfect infected files if possible.|
|/report||Only report infections. Does not disinfect.|
To scan all drive/shares and boot sectors with automatic disinfection, type the command:
fpscan /all /disinfect
|Additional disinfection options
||Remove all macros from infected documents.
||Remove all macros from document when new variant is found.
To scan all drives/shares and boot sectors with automatic removal of macros from infected documents, type the command:
fpscan /all /macros_safe
|Help and additional information options
Help and additional information options are stand-alone, you can not combine them with other options.
|-h, /help||Display all command-line options.|
|/version||Display version numbers and exit.|
|/virno||Display statistics about malware from definition file and exit.|
|/virlist||Display known malwares and exit.|
To display programs version numbers used, type the command:
To display all lists of command-line options, type the command: