If you did a RTFM you will have noticed that you are required to run the bi-init.cmd before executing a command line utility. Most of the time you won’t notice any difference if you omit this step. Especially if you have installed everything on a “clean” server-instance. If you have a somewhat “dirty” machine it quite handy. But what does it do?
Have a look a the script:
if NOT "%1" == "" set COMPONENT_NAME=%1
if "%2" == "" start
It starts with setting your ORACLE_HOME, ORACLE_INSTANCE, ORACLE_BI_APPLICATION and JAVA_HOME variables
Next it calls the user.cmd which can set some extra variable like your TNS_ADMIN
REM This file is a placeholder for setting environment variables
REM set TNS_ADMIN=
Next it sets the PATH variable which can be overruled by adding a COMPONENT_NAME to the script execution bi-init.cmd “COMPONENT_NAME”
If no second parameter is given it will open a CMD box.
Why if this important? If you are scheduling scripts you can use this script to verify that stuff is executed against the intended enverioment.