More On Environment Variables
Previous Topic  Next Topic 

Environment variables define some aspect or component of a service's working environment. Environment variables can not only be set via the Environment tab in FireDaemon Pro but can be set at system boot by editing C:\AUTOEXEC.BAT or via batch scripts. System wide and user level environment variables can also be set by right clicking on My Computer, choose Properties, choose the Advanced tab then click on the Environment Variables button.


Any environment variables set in FireDaemon Pro's Environment tab will override User and System environment variables for the applicable service only.



When you run a FireDaemon service, the following environment variables are available to the sub-process as well as Pre-Service and Post-Service events. They can be expanded by enclosing them in percentage signs (eg. %FDServiceShortName%).


Variable

Description

FDServiceShortName

Service Short Name

FDServiceDisplayName

Service Display Name

FDServiceDescription

Service Description

FDServiceExecutabe

Service Executable

FDServiceWorkDir

Service Working Directory

FDServiceParameters

Service Parameters

FDDate

Date when the service started in format YYYYMMDD

FDTime

Time when the service started in 24-hour format HHMMSS