Windows Registry Again

Ken Ray kray at sonsothunder.com
Sat Jul 30 19:27:25 EDT 2005


On 7/30/05 4:01 PM, "Michael" <dweeble at wi.rr.com> wrote:

> Hey thanks for the reply
>  I guess rootpath was the wrong wording to use.
> What I'm looking for are the network cards and values under this
> registry heading, "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services
> \Tcpip\Parameters" and put into a .dat file to query. Some systems have
> 2 cards or more so I cannot get just the values I'm looking for from
> just one card. 
> I'm not sure what to place after Parameters to include below
> Parameters ? I get blank with this.
> put queryregistry("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services
> \Tcpip\Parameters") into tpCheck

You could use the command line "regedit /E <pathToFile> <registryKeyPath>"
to output the key and its subkeys to a file, and you can then parse through
that file. Support for this command goes way back (at least to Win98
(verifiied) or Win95 (not verified).

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com





More information about the use-livecode mailing list