Environment variables is the set of key-value pairs for the current user environment . They are generally set by the operating system and the current user-specific configurations. For example, in a Unix environment, the environment variables are set using the user profile i.e. .