Chris Gersch wrote in
PWPROD does show up when I issue the SET command, that
however does not guarantee the the Oracle registry entries
are using the System variable PWPROD or the User variable
PWPROD. I know for a fact that the PATH statement always
picks up the System varialbe PWPROD instead of the User
variable PWPROD. That's why I was asking if there was a
tool that would display the resolved value of any key in
the Registry. I wonder what determines which variables
get displayed when you issue the SET command?
The "system" (or "machine") values are "first" (and global for all
Users).
The User values in general over-ride the system variables when there
is a name conflict. One exception is PATH. User PATH is _appended_
to System PATH. On a very few systems an AUTOEXEC.BAT variable might
come into play as well.
So, generally what you see with SET is what the program will see.
OTOH if a program specifically reads the registry at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
\Environment\
or
HKEY_CURRENT_USER\Environment\
Then it gets the raw data stored there.
Since you have a variablename PWPROD in both the System and User
location, SET will show you the value of the User variable.
The fact that one shows "K:" means of course that it is useless
without that mapping which may be automatically mapped or done via a
logon script.
Beyond all that you could first do a registry backup, then modify one
or the other value and observe how the application reacts to the
change.
-----Original Message-----
You said %PWPROD% is a system and user variable. Are you saying it doesn't
resolve at all? Doesn't show up if you type set?
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
Chris Gersch said:
The SET command does not display all Registry entries. I
would like to be able to see the resolved value of each of
the Oracle Registry entries under
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
.