# Display of setHomeDirs.cmd File

## Information Taken from /u01/install/APPS/fs1/FMW_Home/oracle_common/common/bin/setHomeDirs.cmd

     -rw-r----- 1 applmgr oinstall 762  Apr 21 18:24 2015  Apr 21 18:17 2015  setHomeDirs.cmd

    @ECHO OFF

    @REM Temporary workaround:  normally use a hardcoded wls version (until the
    @REM installer can substitute it for us); but for now, need to work with multiple
    @REM versions.  Choose the highest avail.
    IF EXIST "%MW_HOME%\utils\config\10.3.3.0\setHomeDirs.cmd" (
      SET WLS_VER=10.3.3.0
    ) ELSE IF EXIST "%MW_HOME%\utils\config\10.3.2.0\setHomeDirs.cmd" (
      SET WLS_VER=10.3.2.0
    ) ELSE IF EXIST "%MW_HOME%\utils\config\10.3.1.0\setHomeDirs.cmd" (
      SET WLS_VER=10.3.1.0
    ) ELSE (
      SET WLS_VER=10.3
    )

    CALL "%MW_HOME%\utils\config\%WLS_VER%\setHomeDirs.cmd"

    @REM Set common components home...
    SET COMMON_COMPONENTS_HOME=%MW_HOME%\oracle_common
    IF EXIST %COMMON_COMPONENTS_HOME% FOR %%i IN ("%MW_HOME%\oracle_common") DO SET COMMON_COMPONENTS_HOME=%%~fsi

Back to top