DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Refresh environment variable changes  (Read 7,225 times)

zhichao

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 18
Refresh environment variable changes
« on: June 24, 2008, 03:48 PM »
Is there a way (or alias) to refresh the environment variables?  I found the application launched by FARR does not recognize the new/updated environment variables (Windows system/user changed through control panel, etc.).  Is there an easy way other than restarting the FARR?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Refresh environment variable changes
« Reply #1 on: June 25, 2008, 09:17 PM »
I know that chr15 wrote code to do this in his System Path Commander program, so it should be possible -- i'll ask him how to do it.

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 186
Re: Refresh environment variable changes
« Reply #2 on: February 13, 2009, 01:03 PM »
Mouser, I'm interested in this too...
Thanks!

Original address: https://www.donationcoder.com/forum/index.php?topic=13810.0