I have a generic registry key that has various strings dumped in it by programs:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders
How can I use a batch file to read the strings in the key, and if a string contains the word 'example' as part of the name, I want it to be deleted.