https://github.com/flipeador/environment-variables-editor
Windows environment variables editor.
https://github.com/flipeador/environment-variables-editor
ahk autohotkey editor environment-variables environment-variables-editor scripts tools win32 windows
Last synced: 3 months ago
JSON representation
Windows environment variables editor.
- Host: GitHub
- URL: https://github.com/flipeador/environment-variables-editor
- Owner: flipeador
- License: apache-2.0
- Created: 2024-10-06T02:17:54.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-13T21:06:18.000Z (4 months ago)
- Last Synced: 2025-03-25T13:38:33.257Z (3 months ago)
- Topics: ahk, autohotkey, editor, environment-variables, environment-variables-editor, scripts, tools, win32, windows
- Language: AutoHotkey
- Homepage:
- Size: 160 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Environment Variables Editor
[AutoHotkey][ahk] script to edit user and system environment variables in Windows.
Environment variables specify files, directories, application-specific options,
and other similar information that can be different on different computers.
The system maintains an environment block for each user and one for the computer.- `HKCU\Environment`: Contains persistent environment variables specific to the current user.
- `HKCU\Volatile Environment`: Contains temporary environment variables specific to the current user.
- `HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment`: Contains global environment variables for all users.The name of an environment variable cannot include an equal sign (`=`).
The `PATH` environment variable is a special variable that specifies the directories in which certain types of
files are located on the computer that can be referenced without knowing and typing the whole path to the file.
Directories are separated by semicolons (`;`), and those that contain semicolons in the path are surrounded by double quotes (`"`).The `PATHEXT` environment variable stores a list of extensions that determines what types of files to look for and in what order within each directory specified in the `PATH` environment variable.
The script allows you to add multiple values to any variable, by separating them with semicolons, just like the `PATH` variable.
### Hotkeys
Hotkeys that perform an action when the script window is active.
| Hotkey | Description |
| :---: | --- |
| [F5][reload] | Replaces the currently running instance of the script with a new one. |
| [XButton1][xbutton] | [4th mouse button] Moves the selected environment variable value up. |
| [XButton2][xbutton] | [5th mouse button] Moves the selected environment variable value down. |## Download
[ahk]: https://www.autohotkey.com
[reload]: https://www.autohotkey.com/docs/v2/lib/Reload.htm
[xbutton]: https://www.autohotkey.com/docs/v2/KeyList.htm#mouse-advanced