Page 1 of 1 1
Topic Options
#41118 - 2003-06-05 03:17 PM find value in Reg
subzero Offline
Lurker

Registered: 2003-06-05
Posts: 2
Hello, ist there any Chance to find a value in the reg? I need a function to search the complete Reg to find al value. The funtion have to deliver the complete Regpath to this value. My problem is that I have to change a Value of the networkadapter that exist behind the Id of the adapter in the Regpath. Theese ID isnīt the same in all computers and so I canīt automate my settings. The easiest way was to search the value and return the complete path to this value into an variable, so that I can write the value with this variable as path. It was also a way to find out the Id of the adapter and change the Regpath for each computer by a variable wich contains the ID. But how I can find the ID, i donīt know too. Is there anyone who can haelp me?
Top
#41119 - 2003-06-05 03:22 PM Re: find value in Reg
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I have used this function with much success:

SReg()

Not sure about searching the ENTIRE registry though, might be a bit if a strain but give it a shot.

-Shawn

Top
#41120 - 2003-06-05 03:25 PM Re: find value in Reg
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
oops sorry, new information and UDF here:

SearchRegistry

-Shawn

Top
#41121 - 2003-06-05 03:39 PM Re: find value in Reg
subzero Offline
Lurker

Registered: 2003-06-05
Posts: 2
where can I find the Syntax of SearchRegistry ?
Iīdidnīt found the subscription of it?

Top
#41122 - 2003-06-05 04:14 PM Re: find value in Reg
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
SearchReg is a User Defined Function (UDF) that was written by one of the board members. As such, it requires that you include the function in your script and that you run with Kixtart 4.0

The syntax for SearchReg is in the comment header of the UDF itself. Have a read and let the board know of any concerns.

-Shawn

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.05 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org