Re: VBScript to traverse all Registry keys
- From: "Pegasus [MVP]" <news@xxxxxxxxxxxxx>
- Date: Fri, 17 Apr 2009 08:08:56 +0200
"jam" <ruby.watir@xxxxxxxxx> wrote in message
news:0ff23ea2-f4be-426d-93f5-68df9643023b@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Apr 16, 8:23 pm, "Pegasus [MVP]" <n...@xxxxxxxxxxxxx> wrote:
"jam" <ruby.wa...@xxxxxxxxx> wrote in message
news:7afe922b-3a6b-4541-9795-10f17593fd5e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Pegasus,
By saying traversing is to just loop through all registry key values.
I am done with it (http://www.billsway.com/vbspage/). Thanks for your
kind help
Regards,
Jam
==================
Glad you found your answer. I actually know what traversing means but I
don't think that traversing is your ultimate aim. You probably wish to
traverse through all registry keys *and* look for a string or number, then
output this string or number to a screen or a file. Or perhaps you wish to
modify this string or number, than write it back to the registry. Or you
wish to delete the key or value that has this string or number.
As you see, your initial post left it open as to what you really wanted to
achive.
Hi Pegasus,
The requirement was to if user enter "SystemBiosVersion" it should
traverse all the keys and just display it. I am done with it. Thanks a
lot for your great help.
Regards,
Jam
===================
There are far more effective methods to determine a BIOS version than to
scan the whole registry. Your current method involves an export of some
10'000 keys to a text file, followed by examining each and every one of
them. With WMI you could obtain this information directly.
.
- References:
- VBScript to traverse all Registry keys
- From: jam
- Re: VBScript to traverse all Registry keys
- From: mr_unreliable
- Re: VBScript to traverse all Registry keys
- From: Todd Vargo
- Re: VBScript to traverse all Registry keys
- From: jam
- Re: VBScript to traverse all Registry keys
- From: jam
- Re: VBScript to traverse all Registry keys
- From: Pegasus [MVP]
- Re: VBScript to traverse all Registry keys
- From: jam
- VBScript to traverse all Registry keys
- Prev by Date: Re: VBScript to traverse all Registry keys
- Next by Date: Adding an ACE to an ACL
- Previous by thread: Re: VBScript to traverse all Registry keys
- Next by thread: VBScript to traverse all Registry keys
- Index(es):
Relevant Pages
|