Skip to content

Commit bc9052a

Browse files
committed
[PowerToys] Add Environment Variables docs
1 parent 9281844 commit bc9052a

6 files changed

+60
-0
lines changed
2.46 MB
Loading
604 KB
Loading
635 KB
Loading

Diff for: hub/images/powertoys-environment-variables.png

1020 KB
Loading

Diff for: hub/powertoys/environment-variables.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: PowerToys Environment Variables for Windows
3+
description: Environment Variables is a convenient way to manage environment variables.
4+
ms.date: 10/24/2023
5+
ms.topic: article
6+
no-loc: [PowerToys, Windows, Environment Variables, Win]
7+
---
8+
9+
# Environment Variables
10+
11+
Environment Variables app offers a nice and easy way to manage environment variables. Also, you can create profiles and manage multiple variables at once. Profile variables have precedence over User and System variables. In the background, applying the profile adds variables to User environment variables. When profile is applied, if there is an existing User variable with the same name, backup variable is created in User variables which will be reverted to original one on profile un-apply.
12+
13+
Applied variables list shows the current state of the environment, respecting the order of evaluation of environment variables (Profile -> User -> System). Evaluated Path variable value is shown at the top of the list.
14+
15+
![PowerToys Environment Variables screenshot.](../images/powertoys-environment-variables.png)
16+
17+
## Edit/Remove variable
18+
19+
To edit or remove a variable (profile, User or System) for specific variable select more options button (**•••**):
20+
21+
![PowerToys Environment Variables: Edit/Remove variable](../images/powertoys-environment-variables-edit-variable.gif)
22+
23+
## Add profile
24+
25+
To add new profile:
26+
27+
- Select **New profile**
28+
- Enter profile name
29+
- Set Enabled toggle to On to apply the profile right after creaton
30+
- Select **Add variable** to add variables to profile (either new variable or existing User/System variables).
31+
- Select **Save**
32+
33+
![PowerToys Environment Variables: Add profile](../images/powertoys-environment-variables-add-profile.gif)
34+
35+
To edit or remove the profile, select profile more options button (**•••**).
36+
37+
## Apply profile
38+
39+
To apply profile, set profile toggle to On. Only one profile can be applied at the time. Applied variables list will show applied profile variables at the top (below Path variable):
40+
41+
![PowerToys Environment Variables: Apply profile](../images/powertoys-environment-variables-apply-profile.gif)
42+
43+
## Settings
44+
45+
From the Settings menu, the following options can be configured:
46+
47+
| Setting | Description |
48+
| :--- | :--- |
49+
| Launch as administrator | Launch as administrator to be able to manage System variables. If disabled, only profile and User variables can be modified. Environment Variables is started as administrator by default. |

Diff for: hub/powertoys/index.md

+11
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ The currently available utilities include:
6969
:::column-end:::
7070
:::row-end:::
7171

72+
### Environment Variables
73+
74+
:::row:::
75+
:::column:::
76+
[![Environment Variables screenshot.](../images/powertoys-environment-variables.png)](environment-variables.md)
77+
:::column-end:::
78+
:::column span="2":::
79+
[Environment Variables](environment-variables.md) app offers a nice and easy way to manage environment variables.Also, it allows you to create profiles to be able to manage set of variables at once.
80+
:::column-end:::
81+
:::row-end:::
82+
7283
### FancyZones
7384

7485
:::row:::

0 commit comments

Comments
 (0)