Database Reference
In-Depth Information
Figure 22-1.
PERL5LIB system environment variable
System
once
and for all than to source a file with environment variables each time a command interpreter is
started. A smart approach is to set environment variables in a command interpreter for testing
and to store them in the registry once the results are correct. This is the approach taken in the
sections that follow.
First of all, we will set
ORACLE_HOME
, such that it may be reused when setting the remaining
environment variables.
Of course, it's much more convenient to set variables with
Control Panel
➤
C:> set ORACLE_HOME=C:\ORACLE\product\db10.2
Next we need to add the directory where
perl.exe
resides to
PATH
. On Windows, it resides
in the build-specific directory
MSWin32-x86-multi-thread
. The separator for specifying multiple
directories is a semicolon (
;
).
C:> set PATH=%ORACLE_HOME%\perl\5.8.3\bin\MSWin32-x86-multi-thread;%ORACLE_HOME%\bin
;C:\WINDOWS\System32