HKEY_CURRENT_USER\EnvironmentIf using Windows powershell, use
Get-ItemProperty -Path "HKCU:\Environment"In windows command-line enviroment use
echo %PATH%
Minimalistic Oracle contains a collection of practical examples from my encounters with Oracle technologies. When relevant, I also write about other technologies, like Linux or PostgreSQL. Many of the posts starts with "how to" since they derive directly from my own personal experience. My goal is to provide simple examples, so that they can be easily adapted to other situations.
HKEY_CURRENT_USER\EnvironmentIf using Windows powershell, use
Get-ItemProperty -Path "HKCU:\Environment"In windows command-line enviroment use
echo %PATH%
ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist IBM AIX RISC System/6000 Error: 2: No such file or directory
SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = mydb) (ORACLE_HOME = /u01/oracle/product/11204 ) (SID_NAME = mydb) ) )to
SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = mydb) (ORACLE_HOME = /u01/oracle/product/11204/) <-- Note the trailing slash character at the end of the ORACLE_HOME path (SID_NAME = mydb) ) )Reload the listener with lsnrctl reload, and the listener once again accepted connections from TOAD.