Table of Contents

Windows - Environment Variable

About

An environment variable is an operating system variable that use the hosted application to set application parameters.

They can be set on different scopes:

  1. for a shell thread with the set DOS command (ie for a specific process)
  2. for a specific user
  3. global for a system

How to manage an environment variable ?

DOS

See How to manage variable in dos? Environment variable

Registry

GUI

Environment Variable

List

Example: listing of the environment variable of the Outlook process (application) within Process explorer

See process environment variable

Windows Environment Parameters By Process Explorer

Built-in Environment variable

%PATH% list of directories where the OS search to find executable binary. See Os - (Search) Path Environment Variable
%temp% Temp Directory
%SYSTEMDRIVE% Disk Drive