xorl has asked for the wisdom of the Perl Monks concerning the following question:
This is on a Win2k box using activestate perl 5.6
If I set an environmental variable like this $ENV{ORACLE_HOME}="C:\\foobar\\Ora9\\";
Will it affect anything else?
When I went to the Windows control panel/system/advanced/environmental variables and set ORACLE_HOME there it broke some other jobs running on the box (I'm not even going to try to pretend I understand why they have a different value for that variable).
Anyway I need to make sure I can set the environmental variable just for the script and not have it leak over to anything else. What's the best way of doing this?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Setting Environmental variables
by JediWizard (Deacon) on Oct 08, 2004 at 13:26 UTC | |
|
Re: Setting Environmental variables
by ww (Archbishop) on Oct 08, 2004 at 17:16 UTC |