Appendix I. Environment Variables Exported by Dr.Web Server

To simplify the setting of the processes run by Dr.Web Server on schedule, the data on location of the Dr.Web Server catalogs is required. To this effect, Dr.Web Server exports the following variables of started processes into the environment:

DRWCSD_HOME—path to the root folder (installation folder). The switch value is -home, if it was set at the Dr.Web Server launch; otherwise the current folder at launch.

DRWCSD_BIN—path to the folder with executable files. The switch value is -bin-root, if it was set at the Dr.Web Server launch; otherwise it is the bin subfolder of the root folder.

DRWCSD_VAR—path to the folder to which Dr.Web Server has a write access and which is designed to store volatile files (for example, logs and repository files). The switchvalue is -var-root, if it was set at the Dr.Web Server launch; otherwise it is the var subfolder of the root folder.