<p><em><strong>Note</strong></em>: After seeing lots of comments about setting environment variables without administrator rights in Windows 10, I think I have found a way. I was not administrator and could use PowerShell.</p>
<p><a href="https://technet.microsoft.com/en-us/library/ff730964.aspx?f=255&MSPPError=-2147217396">PowerShell method</a></p>
<p>You can list all environment variables with: <code>Get-ChildItem Env:</code>.</p>
<p>To get the value of a specific variable: <code>$Env😛ATH</code>, where <code>PATH</code> is the name of the variable.</p>
<p>To set a variable: <code>[Environment]::SetEnvironmentVariable("PATH", "C:\TestPath", "User")</code>, the first parameter is the name of the variable, the second is the value, the third is the level of.</p>
<p><em>There are different ways to work with environment variables and certain quirks with them in PowerShell so consult the link for details.</em></p>
<p>Old method (no longer available in newer Windows 10 updates, use PowerShell or see other answers)</p>
<p>Go into Settings and click on <strong>System</strong>.</p>
<p><a href="https://i.sstatic.net/VS4fb.png"></a></p>
<p>Then on the left side click <strong>About</strong> and select <strong>System info</strong> at the bottom.</p>
<p><a href="https://i.sstatic.net/Y2sFF.png"></a></p>
<p>In the new Control Panel window that opens, click <strong>Advanced system settings</strong> on the left.</p>
<p><a href="https://i.sstatic.net/bd5eF.png"></a></p>
<p>Now in the new window that comes up, select <strong>Environment Variables…</strong> at the bottom.</p>
<p><a href="https://i.sstatic.net/ZeExG.png"></a></p>