When Vim is started, it grabs the environment variables of the operating system (like
PATH) and it also sets it own internal environment variables (like
To see all the environment variables available inside Vim, type
:echo $ and press
To see the value that is currently assigned to a particular environment variable, for example
For more details go here.
Tried with: Vim 7.3.46 on Windows 7 64-bit