Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Retrieving a folder from registry

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Retrieving a folder from registry
  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 >>
 Retrieving a folder from registry - 6/18/2002 8:19:26 AM   
  pmof1

 

Posts: 1
Score: 0
Joined: 6/18/2002
From:
Status: offline
I need to access the registry and pull the contents of an entire folder. The RegRead seems to only work when you specify a direct path to the information.
 
 
Post #: 1
 
 Re: Retrieving a folder from registry - 7/2/2002 1:16:46 AM   
  imav8n

 

Posts: 95
Score: 0
Joined: 7/3/2001
From: USA
Status: offline
Don't use vbscript...use the reg utility from the resource kit instead.

REG QUERY \\\\\\

It will dump the entire contents of the registry folder you specify, so if you need/want to, dump it to a text file.

I run several scripts daily that check for various parameters...To do this, I run a batch script that calls Reg query for the keys I'm looking for, and dumps them to a text file...then the batch calls a vbscript which parses the text files looking for the data I want.

~imav8n
Failure is not an option.....it comes bundled with the software.

(in reply to pmof1)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Retrieving a folder from registry 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