# How to add a path to the% PATH% environment variable on Windows?

How to add something to the path (PATH or system PATH)? What is% PATH% and%% something?

Here are some examples:

1. Add the following string to the `PATH` , `C:\Program Files (x86)\CMake 2.8\bin` .

2. Do you have to make your `%PATH%` environment variable? On my system, I need to add `%MINGW_DIR%\bin` to `%PATH%` .

3. Add `C:<Qt_directory>/mingw/bin` to the system `PATH` .

I understand that you need to go to System Properties → Advanced → Environment Variables ...

And then, if we talk about PATH, then add such-and-such to the “User Variables”, and if system PATH, then “System Variables”.

Then you need to click "Create". What to enter in the "variable name"? The value of the variable should be written those lines that are given in the instructions, right?

`Qt\_\_directory` is probably the path to the folder with Qt. Between two `%` also the path to the folder? `%PATH%` and `%MINGW_DIR%` are the same, if `PATH` understood as the path to MinGW?