Error in Process orapwd.exe and unable to find error file opw.msb

I was trying to install Oracle 11g R2(64bit) on Windows 7 64 bit OS.
But While Creating Database using DBCA i got this error. Below is the screenshot.

Error in Process: %ORACLE_HOME%serverbinorapwd.exe
Unable to find error file %ORACLE_HOME%RDBMSopw<lang>.msb

Resolution:

Set proper Home and Path using cmd and launch the dbca.

 C:Usersorahow>set ORACLE_HOME=C:Oracleapporacleproduct11.2.0dbhome_1
 C:Usersorahow>set PATH=C:Oracleapporacleproduct11.2.0dbhome_1serverbin:$PATH:.
  C:Usersorahow> dbca