There's more than one way to do things | |
PerlMonks |
Re^3: Issue with env variables set through dos batchby Marshall (Canon) |
on Oct 13, 2011 at 16:11 UTC ( [id://931300]=note: print w/replies, xml ) | Need Help?? |
If you start a script, it gets the environment at the time. If that script fiddles with an environment variable, that is only a temporary setting for the duration that that script is running. If you set an environment variable before a script is started, then the script inherits that value when it runs. Back up another level, when Windows boots, certain values are set in the environment and all processes inherit those values.
In Section
Seekers of Perl Wisdom
|
|