In this part I show one way how to uninstall program if the Uninstall string is not in double quotes:

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_SZ as 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:
No comments:
Post a Comment