in reply to how I can with perl script change path variable so that the changes remain with the system reboot?

Environment variables are like genes; copies are passed from parent to child.

Whilst the child may modify (mutate) the copy it inherits, that will have no affect upon the parents copy.

(To make permanent changes to the environment on Windows; you could look at Win32::TieRegistry, but that will still not affect the environment of existing (eg. parent) processes.)


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: how I can with perl script change path variable so that the changes remain with the system reboot?

Replies are listed 'Best First'.
Re^2: how I can with perl script change path variable so that the changes remain with the system reboot?
by zeus83 (Novice) on Jan 09, 2014 at 14:20 UTC
    that sounds good ... maybe I can create a new variable and delete old ones.
    thank you