FG

Refresh environment variable

Fresh3 days ago
Mar 15, 202665514 views
Confidence Score0%
0%

Problem

How can I refresh a Windows command shell after I modified my Environment variables? i.e. In Bash I can just do

Error Output

source ~/.bashrc

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Refresh environment variable

Low Risk

I'd like to complete the Lance McCarthy’s answer. The is a part of Chocolatey package manager, so if you use Chocolatey then you have installed. But you can also get this batch file directly from the Chocolatey GitHub (link to raw data). Save this f…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment