RefrEnv
RefrEnv copied to clipboard
Refresh the environment. Reload environment variables every time you want environment changes to propagate, so you do not need to restart the console after setting a new variable. A better alternative...
Hi, great project! May I suggest an addition to the top of the scripts - a detection whether the script is called or sourced, and display a message if it...
I am having trouble refreshing my environment variable after using RefrEnv.bat. I use the following PowerShell script to remove specific directories from my USER PATH environment variable: ```powershell $paths2delete =...
Value before reloading: `C:\Users\torocat-virtual-pc\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\windowsapps\microsoft.powershell_7.4.4.0_x64__8wekyb3d8bbwe\Modules;C:\Users\torocat-virtual-pc\scoop\modules;C:\Users\torocat-virtual-pc\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules` Value after reloading: `C:\Users\torocat-virtual-pc\scoop\modules;C:\Users\torocat-virtual-pc\Documents\WindowsPowerShell\Modules` @badrelmers