Environment variable

Updated: 05/21/2018 by Computer Hope

Environmental variableAn environment variable is a dynamic "object" on a computer, containing an editable value, which may be used by one or more software programs in Windows. Environment variables help programs know what directory to install files in, where to store temporary files, and where to find user profile settings. They help shape the environment in which programs run on your computer.

The variable name shown in the picture, %appdata%, is one of the environment variables used by Microsoft Windows. It points to the application data folder, where many programs store data specific to your user. Its value is the name of a directory. Just like any directory name, you can open it in a File Explorer window by entering it in the Windows Run box or Windows Search Box. For example, to get into the Application Data folder type %appdata% and then press Enter in the Run box. This variable is just one example of how environment variables can make your life a little more convenient.

Tip: From the Windows command line, you can the set command to view all Windows environment variables, and their current values.

Environment, Operating system terms, Percent, Variable