Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Multiple Oracle Homes on Windoze
I have one.
Owing to the limitations of the Win32 world, it is not a single script, but actually 3 perl scripts and a CMD script.
Once it is setup, you only need call the oraenv.cmd script.
It modifies the registry entries for CMD window session variables, with the option of removing all Oracle Path entries from the PATH variable other than for the Oracle home you are interested in.
Multiple Java paths in PATH for multiple versions of Oracle is not an ideal working environment.
It doesn't touch the Oracle registry entries, as those are a mess, which is partly why I wrote this tool.
If interested, I'll zip it up and put it somewhere you can get it.
Jared
On Tue, 14 Dec 2004 10:35:44 -0700, Eberhard, Jeff
<Jeff.Eberhard_at_triumphgs.com> wrote:
> Hi,
>
> Before I create my own, does anyone have a batch script on windows which
> functions like the oraenv in unix that they would be willing to share? I
> have multiple oracle instances and versions on a windows box where I would
> like to use something like a oraenv.cmd to set the path and evironment
> variables which correspond to the selected database.
>
> Thanks,
> Jeff
>
> --
> http://www.freelists.org/webpage/oracle-l
>
-- Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist -- http://www.freelists.org/webpage/oracle-lReceived on Tue Dec 14 2004 - 13:02:04 CST
![]() |
![]() |