How to Add Environment Variables Context Menu in Windows 10
Environment variables are a set of dynamic named values that can affect the way running processes will behave on a computer. The variables can be used both in scripts and on the command line. Environment variables makes it easy when certain standard directories and parameters need to be referenced but where the actual locations or names can vary from computer to computer.
The variable (ex: "%UserProfile%") is used as a type of shortcut of the value (ex: "C:\Users\<username>").
There are two types of environment variables: user environment variables (set only for current user) and system environment variables (set for all users).
This tutorial will show you how to add an Environment Variables desktop context menu in Windows 10.
The User variables item in the context menu allows the current user (standard user or administrator) to set new, edit, or delete the user environment variables for only their account. System variables will be grayed out, and cannot be changed.
The System variables item in the context menu allows an administrator to set new, edit, or delete the system environment variables for all users and user environment variables for only their account.
You must be signed in as an administrator to add and remove the "Environment Variables" context menu.
EXAMPLE: Environment Variables context menu
![]()
Here's How:
1 Do step 2 (add-right click), step 3 (add-Shift+right click) , or step 4 (remove) below for what you would like to do.
A) Click/tap on the Download button below to download the file below, and go to step 5 below.
Add_Environment_Variables_context_menu.reg
Download
A) Click/tap on the Download button below to download the file below, and go to step 5 below.
Add_Shift+right_click_Environment_Variables_context_menu.reg
Download
This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 5 below.
Remove_Environment_Variables_context_menu.reg
Download
5 Save the .reg file to your desktop.
6 Double click/tap on the downloaded .reg file to merge it.
7 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.
8 You can now delete the downloaded .reg file if you like.
That's it,
Shawn
Related Tutorials
- Complete List of Environment Variables in Windows 10
- How to Create Environment Variables Shortcut in Windows
- How to Set New User and System Environment Variables in Windows
- How to Edit User and System Environment Variables in Windows
- How to Delete User and System Environment Variables in Windows