A V G 9 I nternet Sec urity © 2 0 1 0 C opyright A V G T ec hnologies C Z, s .r.o. A ll rights res erved.
1 8 3
12.4. Command Line Scanning
Within
AVG 9 Internet Security
there is the option of running the scan from the
command line. You can use this option for instance on servers, or when creating a
batch script to be launched automatically after the computer boot. From the command
line, you can launch the scanning with most parameters as offered in AVG graphical
user interface.
To launch AVG scan from the command line, run the following command within the
folder where AVG is installed:
·
avgscanx
for 32 bits OS
·
avgscana
for 64 bits OS
Syntax of the command
The syntax of the command follows:
·
avgscanx /parameter
... e.g.
avgscanx /comp
for scanning the whole
computer
·
avgscanx /parameter /parameter
.. with multiple parameters these should
be lined in a row and separated by a space and a slash character
·
if a parameters requires specific value to be provided (e.g. the
/scan
parameter that requires information on what are the selected areas of your
computer that are to be scanned, and you have to provide an exact path to
the selected section), the values are divided by semicolons, for instance:
avgscanx /scan=C:\;D:\
Scanning parameters
To display a complete overview of available parameters, type the respective command
together with the parameter /? or /HELP (e.g.
avgscanx /?
). The only obligatory
parameter is /SCAN to specify what areas of the computer should be scanned. For a
more detailed explanation of the options, see the
command line parameters overview
.
To run the scan press
Enter
. During scanning you can stop the process by
Ctrl+C
or
Ctrl+Pause
.
CMD scanning launched from graphic interface
When you run your computer in Windows Safe Mode, there is also a possibility to
launch the command line scan from the graphic user interface. The scan itself will be
launched from the command line, the
Command Line Composer
dialog only allows
you to specify most scanning parameters in the comfortable graphic interface.