In this part I show one way how to uninstall program if the Uninstall string is not in double quotes.
The main goal I have is to create a multi character delimiter
reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\HandBrake" /v UninstallString UninstallString REG_SZ C:\Program Files\Handbrake\uninst.exeI want to use
REG_SZas delimiter so I can extract last part which in this case is
C:\Program Files\Handbrake\uninst.exeThis can be accomplished with:
If I merge all code in for loop then it will not work at all. This is how not to do: