Fastest way to edit environment variables in Windows 10
Environment variables are really old windows system settings, but these settings are still in use. In order to edit environment variables in Windows 10 usually you should walk this long path:
1. Get to "classic" System settings. You may right-click on This PC desktop icon and select Properties command from pop-up context menu. Also you may open "classic" Control panel (fast way is to do a search for Control panel desktop app), click System and security, click System.
2. Click Advanced system settings on the left side of the System window.
3. Click Environment variables button at the bottom side of dialog window to open this window:
But you may skip all these boring steps with this single command:
rundll32 sysdm.cpl,EditEnvironmentVariables
In order to edit global (not user profile) environment variables this command must be executed with Administrator privileges. There are some ways to do this. For example, you may right click on windows logo on taskbar (or use shortkey Win+X) and select Windows PowerShell (admin) command. This action opens actual windows command shell app with Administrator privileges.