All Forums >> [Scripting] >> Post a VBScript >> Function to check if registry key exists Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Posts: 1804
Score: 12
Joined: 5/15/2003
From: USA
Status: online
To join the band wagon.
'EXAMPLE of RegistryKeyExists ' If RegistryKeyExists("HKLM","SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB885887","FileList") = True Then ' WScript.Echo "True" ' Else ' WScript.Echo "False" ' End If
_____________________________
Mike
For useful Scripting links see the Read Me First stickey!