Does anyone know how to escape a forward slash '/' in the path of a registry key? I've tried escaping it with '\'
blquery -h $TARGET -e 'reg_value ("HKEY_LOCAL_MACHINE\\SOFTWARE\\BMC Software\\Control-M/Agent\\CONFIG\\CTMSHOST")'
I'm trying to get the CONTROL-M/server name and CONTROL-M/agent version from all hosts in the estate via BladeLogic.
The value returned is always 0. The above command works and returns a value if I rename the registry path Control-M/Agent to Control-MAgent.