How do I get a value from the windows registry to set a variable
- From: Juan Carlos Reyes Pacheco <juancarlosreyesp@xxxxxxxxx>
- To: oracle-l@xxxxxxxxxxxxx
- Date: Tue, 11 Oct 2005 12:02:56 -0400
Hi I'm trying to get a variable from windows from a bat file but I cant.
I had check the reg.exe utility but this give you more data than needed
reg query KEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home1 /v oracle_home
This returns all this information
-------------------
! REG.EXE VERSION 3.0
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home1
oracle_home REG_SZ D:\oracle\product\10.2.0\db_1
-------------------
I only need somethin that returnsme the value to put it in a variable
Thanks in advance.
--
Oracle Certified Profesional 9i 10g
Orace Certified Professional Developer 6i
8 years of experience in Oracle 7,8i,9i,10g and developer 6i
--
http://www.freelists.org/webpage/oracle-l
- Follow-Ups:
- Re: How do I get a value from the windows registry to set a variable
- From: Niall Litchfield
- Re: How do I get a value from the windows registry to set a variable
- From: Radoulov, Dimitre
Other related posts:
- » How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- » Re: How do I get a value from the windows registry to set a variable
- Re: How do I get a value from the windows registry to set a variable
- From: Niall Litchfield
- Re: How do I get a value from the windows registry to set a variable
- From: Radoulov, Dimitre