Re: VBScript to traverse all Registry keys

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"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.


.



Relevant Pages

  • Re: Win XP PRO, very slow to shut down, why?
    ... Change the data value of the ClearPageFileAtShutdown value in the following registry key to a value of ... WaitToKillAppTimeout: Default is 20000, try 1000, if it's still ... If some of the keys above don't exists, ... #1 is a String Value ...
    (microsoft.public.windowsxp.general)
  • Re: VBScript to traverse all Registry keys
    ... By saying traversing is to just loop through all registry key values. ... output this string or number to a screen or a file. ...
    (microsoft.public.scripting.vbscript)
  • Re: VBScript to traverse all Registry keys
    ... By saying traversing is to just loop through all registry key values. ... output this string or number to a screen or a file. ...
    (microsoft.public.scripting.vbscript)
  • Re: IP Address
    ... This happened because the spyware you removed with that anti spyware program had damaged the winsock registry keys ... It is important to restart the computer after deleting the Winsock keys. ... On a default install of Windows XP the registry key: ... If you are not using a third-party firewall, then enable the XP Internet Connection Firewall ...
    (microsoft.public.windowsxp.network_web)
  • Re: Windows registry key listing and values
    ... changing registry keys - but I'm just using that as an example. ... ought not to be greyed out, and a simple change in a registry key can fix ... So is there nowhere that has a listing of the windows basic registry keys? ... reference to some specific keys or specific registry issues. ...
    (microsoft.public.windowsxp.general)