I'm using an 'IF ReadValue' HKEY <> in a script which is working fine.

What I want to do is expand this somewhat to see if a key exists, something like

IF Office\12.0 key exists then continue, otherwise ENDIF
IF ReadValue
Do stuff
Do stuff
ENDIF

Wondering if I could use the same if readvalue somehow?

Thanks