I have the registry path in a variable %A%. And I want to get the child name of that registry path and to execute the below command
MSIEXEC.EXE /qb /L* "%LOGDIR%\myuninstaller.log" /x{GUID}
Example:
SET %A%="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{C43A01F0-D4DB-4CA3-9DF6-7DF629BBCCD4}"
How can I get exactly this string "{C43A01F0-D4DB-4CA3-9DF6-7DF629BBCCD4}"
?