How to create custom environment variables on Windows 11, 10
To create environment variables on Windows 11 (10), open System Properties > Advanced > Environment Variables, and create new variable.
On Windows 11 (and 10), environment variables are globally known names that refer to certain path locations within the operating system, such as to a particular folder or drive on your computer.
For example, instead of having to browse to “C:\Users\accountName” to access your account folders, you can simply type “%HOMEPATH%” in the “Run” command and hit enter to access the same location.
There are a number of built-in environment variables on Windows 11 and 10 that can come in handy in a number of scenarios, especially when creating a script. However, you’re not limited to the default list. You can create your very own variables if you want to have quicker access to certain locations.
This guide will teach you the steps to create custom environment variables on Windows 10 and 11.
Create custom environment variables on Windows 11
To create an environment variable on Windows 11 (or 10), use these steps:
Open Start on Windows 11.
Search for Edit the system environment variables and click the top result to open the “System Properties” page.
Click the Advanced tab.
Click the Environment Variables button.

Under the “User variables for admin” section, click the New button.

Confirm the name for the variable in the “Variable name” setting. For example, “PIX.”
Confirm the path for the folder, drive, or file to open with the new variable in the “Variable values” setting. For example, “C:\Users\Admin\Pictures.”
Click the OK button.

Click the OK button.
Once you complete the steps, the system will create a new variable, and you can use it to access the specific location or file with the variable. For example, you can open the “Run” command, type the variable (%PIX%), and click the “OK” button.
If you want to delete a variable, you can follow the same steps, but in step 4, select the variable and click the “Delete” button.
To create environment variables on Windows 11 (10), open System Properties > Advanced > Environment Variables, and create new variable.
On Windows 11, you can save the Spotlight collection images available on the desktop, but you have to use this workaround.
Имате проблеми с излъчването на Game Bar, което не е налично? Открийте доказани решения, за да стартирате отново стрийминг на Xbox Game Bar в Windows. Поетапно отстраняване на неизправности за безпроблемно споделяне на игра.
Имате проблеми с Shell Infrastructure Host, който изразходва много процесора ви в Windows 11? Открийте доказани, стъпка по стъпка решения, за да възстановите системата си.
Открийте лесните стъпки за активиране на режим „Бог“ в Windows 11. Получете незабавен достъп до над 200 скрити настройки и инструмента, за да подобрите работата си с компютъра без усилие.
Открийте стъпка по стъпка инструкции как да настроите иконите в центъра на лентата на задачите на Windows 11. Персонализирайте лентата на задачите си без усилие за централизиран, професионален вид, който подобрява производителността и естетиката.
Изпитвате затруднения с бавен лаптоп с Windows 11? Открийте експертни, актуални съвети за ускоряване на производителността, оптимизиране на ресурсите и възстановяване на продуктивността. От бързи решения до разширени настройки, накарайте устройството си да работи като ново.
Открийте как да използвате ефективно лентата със задачи „Календар и дневен ред“ на Windows 11. Научете стъпка по стъпка съвети за интегриране на графика ви, задаване на напомняния и рационализиране на ежедневните задачи за максимална продуктивност.
Боря се с Хм, може
Имате проблеми с досадната грешка 0x80070020 „файлът се използва“ в Windows 11? Открийте доказани, стъпка по стъпка решения, за да я разрешите бързо и да се върнете към безпроблемната работа с компютър. Не се изискват технически познания!
Имате проблеми с грешки в Classic Shell и Start11 на Windows 11? Открийте доказани решения за отстраняване на сривове, проблеми със съвместимостта и проблеми при стартиране. Върнете менюто си „Старт“ в правилната посока с подробни решения.
Имате проблеми с грешката при надстройка до Windows 11? Лицензионни условия за софтуер? Открийте доказани, стъпка по стъпка решения за бързо разрешаване на този досаден проблем и безпроблемно надграждане. Актуализирано с най-новите корекции за безпроблемно изживяване.