Command Line Scanning Mode

Top  Previous  Next

You can run Dr.Web Scanner for Windows in the command line mode which allows to specify settings of the current scanning session and the list of objects for scanning as additional parameters. This mode provides automatic activation of the Scanner according to schedule.

The launching command syntax is as follows:

[path_to_program] drweb32w [objects] [keys]

The list of objects for scanning can be empty or contain several elements separated with blanks.

The most commonly used examples of specifying the objects for scanning are given below:

* – scan all hard drives;

C: – scan drive C:;

D:\games – scan files in the specified folder;

C:\games\* – scan all files and subfolders of the specified directory.

Switches are command line parameters which specify the program’s settings. If no switches are defined, scanning is performed with the settings specified earlier (or with the default settings if you have not changed them).

Each switch begins with a forward slash (/) character and is separated with a blank from other switches.

Several most frequently used switches are listed below. For their full list refer to Appendix A.

/cu – cure infected objects;

/icm – move incurable files (to the default folder);

/icr – rename (by default);

/qu – close the scanner window after session is finished;

/go – no prompts on actions should be generated.

Two last parameters are especially useful for automatic launch of the Scanner according to schedule.

 

Dr.Web Console Scanner for Windows can be used with the same parameters. To do this, type the drwebwcl command name instead of drweb32w.

 

By default, the console version of the Scanner for Windows uses the same settings as the GUI version of the Scanner. The parameters set via the graphical interface of the Scanner (for more information see Adjusting the Scanner Settings) are used for scanning in command line mode unless different parameters were set as switches.