Windows Vista

I haven't worked in Windows environment in a long time.

1. How and where do I set the following in Windows Vista?

set ORACLE_HOME=c:\oracle\product\10.2.0\db_1
set ORACLE_SID=orcl
set PATH=%ORACLE_HOME%\bin;%PATH%

2. How and where do I execute the following commands in Windows Vista?

%ORACLE_HOME%\OPatch\opatch lsinventory -all
%ORACLE_HOME%\OPatch\opatch lsinventory -detail

The path for opatch is %ORACLE_HOME%\OPatch\jlib\opatch Here opatch is an executable Jar file.

Thanks!

Solution: Windows Vista

Run command prompt as an administrator. That is, right click on command prompt and then click "Run as administrator". After that try those commands again.