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.)
|
|---|
| 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 |