My Oracle Support Banner

EM 13: emcli add_target Trim The Backslash On OracleHome On Windows (Doc ID 2852984.1)

Last updated on MARCH 02, 2022

Applies to:

Enterprise Manager for Oracle Database - Version 13.4.1.0.0 and later
Generic Windows

Symptoms

emcli add_target Trim The Backslash On OracleHome

Following emcli command add a target to windows. This example uses OracleHome = E:\app\oracle\product\12.2.0\dbhome_2

./emcli add_target -name="<TARGET_NAME>" -type="TARGET_TYPE" -host="<HOSTNAME>" -credentials="UserName:dbsnmp;password:<PASSWORD>;Role:Normal" -properties="SID&<TARGET_NAME>;Port&<LISTENER_PORT>;OracleHome&"E:\app\oracle\product\12.2.0\dbhome_2";MachineName&<HOSTNAME>" -subseparator=properties="&"

 

The target is added but oracle home is added with the following format:
E:apporacleproduct12.2.0dbhome_2



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.