Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Function to check if registry key exists

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,35278
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
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!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Function to check if registry key exists - 6/8/2006 11:48:39 PM   
  mbouchard


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!

Always remember Search is your friend.
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Function to check if registry key exists Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts