Page 1 of 1

Read Registry Key no complete way

Posted: Sun Jul 10, 2011 2:14 pm
by Merops
Hi,

I want to know if a key exists, but I do not know her way around as it depends on user input (database name).
For example :
HKCU\Software\MySoft\DatabaseXYZ
HKCU\Software\MySoft\BaseABC
..

I try "Check Registry Key HKCU\Software\MySoft\*" but result is "NOKEY".

Bests regards,

Franck :wink:

Re: Read Registry Key no complete way

Posted: Mon Jul 11, 2011 4:46 pm
by giaviv
Hi,

Were you actually using the string "HKCU\Software\MySoft\*" or did you replace * with the correct key name?

Re: Read Registry Key no complete way

Posted: Tue Jul 12, 2011 12:25 pm
by Merops
Hi,

I do not know the full name of the key because it depends on the user input.

I try :
Check Registry Key HKCU\Software\MySoft\*
Check Registry Key HKCU\Software\MySoft\%

But, the result is "NOKEY".

Thank you for your help,

Re: Read Registry Key no complete way

Posted: Tue Jul 12, 2011 7:57 pm
by giaviv
Hi,

I'm still not sure im getting it - you can't use * as the key name, you have to specify a specific key..