Environment variablesin Windows are global tweaks and values that can be accessed by all processes and users.

These variables are used to store values that applications and processes can use.

There are two types of environment variables in Windows.

Manage Environment Variables In Windows 10

User variables only affect the user currently logged in.

Manage environment variables

Sometimes the user needs to edit the environment variables.

Windows provides the option to edit all environment variables in one place, including system variables and user variables.

Download Windows 11 IoT Enterprise LTSC ISO

You will see two results:

Both options are self-explanatory.

you’ve got the option to either select to edit the appropriate environment variables.

Here you might add a new variable with its name and value or edit an existing variable.

Startup folder in all versions of Windows

Lets take an example scenario to understand the concept of environment variables further.

This will be a lot easier for me.

I should also call the programs or files by their nicknames.

Download Windows 11 Version 24H2

Create a folder E:tech and fire up the environment variables editor as discussed above.

Under the system environment variables, edit the Path variable.

To add the folder path, append the folder path at the end of the value.

The value that should be appended is;E:\tech.

It is important to differentiate between multiple paths.

For example, I have put tech.exe in the folder that I can run by going toRun > tech.

Therefore, it is always advisable to edit or remove the environment variables with great care.

We will discuss some third party software to manage and back up environment variables.

PathMan

PathMan is a very simple portable program, which will only edit the PATH environment variable.

The selection will be displayed on the right-hand pane.

The details of the selected environment variable will be displayed in the bottom pane.

For what purposes do you edit environment variables?

Tell us some interesting uses.

12

Get weekly insights, tips and exclusive content delivered straight to your inbox.

Talk to us straight and get your questions answered right away

source: www.itechtics.com