kwatt562
asked on
Return code 0 on error
Hi running a bat script to delete some registry keys
I don't want the script to fail if it cant find a registry value
reg delete HKCR\Installer\Products\B0 74548141BE CBA438B53E C696D30CD8 /f
I need it to return error value of 0 if a key isn't found, can someone assist?
I don't want the script to fail if it cant find a registry value
reg delete HKCR\Installer\Products\B0
I need it to return error value of 0 if a key isn't found, can someone assist?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There are only a few situations where you should use labels. In general - no!
Open in new window
-saige-