RegistryKey would be the values on the right hand side of regedit, and RegistryItem is the 'folders' on the left correct?
I'm just checking if the registry 'folder' exist before I try to edit some registry keys.
jb
That was it thank you.
funny think is, I would assume true would = 1 and false would = 0
But True returns -1 and false returns 0
But as long as its consistent, I can work with it.
thanks,jb
I'm trying to get the function from
http://www.tek-tips.com/faqs.cfm?fid=5864
If a registry item exists (key or value, depending on what you pass it).
to work, it allows returns false, even if the key exist
I'm calling the function like thist
WScript.echo RegistryItemExists...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.