Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Environment Variables on NT

Re: Environment Variables on NT

From: Charles Hooper <hooperc2000_at_yahoo.com>
Date: 3 Nov 2006 08:50:14 -0800
Message-ID: <1162572614.256016.55270@h54g2000cwb.googlegroups.com>


mike wrote:
> I am seeing some values like ORACLE_HOME set to
> F:\oracle\product\10.2.0\client_1
>
> in the key: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraClient10g_home1
>
> so why are they not getting exposed in the environment?
>
> Mike

Oracle on Windows tries to be Windows friendly with the way certain configuration settings are maintained. While on Unix platforms the various settings are exported to environment variables, Oracle stores those same settings in the Windows registry. Some of the environment variables that are seen by issuing a SET command at a command prompt are stored in various locations of the registry, while others may be generated on the fly at Windows start up, or from various configuration files that are read. Windows ultimately determines which environment variables are automatically generated from the registry, and the Oracle settings are not in that set of registry entries.

It may be possible to over-ride an Oracle related value stored in the registry with a SET command in a batch file, or by specifying an entry in the System Control Panel - as I recall, this is not recommended.

Charles Hooper
PC Support Specialist
K&M Machine-Fabricating, Inc. Received on Fri Nov 03 2006 - 10:50:14 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US