Sign in to follow this  
Followers 0
wesb

registry searching

8 posts in this topic

Does anyone have an idea on how to search the registry for say all keys with the same name? I am looking to search the hkcu for all keys with value 001f6700 exists. then i want to see whether the value 001e3001 exists in the same subkey

Share this post


Link to post
Share on other sites



Download the free 134 KB command-line registry editor--and FileInstall it with your AutoIt script if needed.

http://www.winguides.com/software/display.php/27/

Example usage if reg.exe is in the same folder as your script:

Run(@ComSpec & '/c "REG FIND HKLM\SOFTWARE 001f6700" > output.txt')

Then parse output.txt

You have to specify a key (SOFTWARE in the example), so you may want to look at the RegEnum function available in the unstable AutoIt version


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

Download the free 134 KB command-line registry editor--and FileInstall it with your AutoIt script if needed.

http://www.winguides.com/software/display.php/27/

Example usage if reg.exe is in the same folder as your script:

Run(@ComSpec & '/c "REG FIND HKLM\SOFTWARE 001f6700" > output.txt')

Then parse output.txt

You have to specify a key (SOFTWARE in the example), so you may want to look at the RegEnum function available in the unstable AutoIt version

You could also use Autokey and they have a loop function to search registry and files. That is the only reason I use that program, as Autoit is much better, but that is a work around. Create an exe from the autohotkey and call the exe.


Joseph MangrumCCNA, CNA, MCP, Network+

Share this post


Link to post
Share on other sites

or http://www.autoitscript.com/forum/index.ph...st&p=220285 (no guessing how many keys/values)

or if you can guess the max number of keys and use the Built in Functions

sweet.. I have been trying to code this for awhile now, do you mind if I use it on my scripts?, since I hate to keep on going back to autohotkey.


Joseph MangrumCCNA, CNA, MCP, Network+

Share this post


Link to post
Share on other sites

sweet.. I have been trying to code this for awhile now, do you mind if I use it on my scripts?, since I hate to keep on going back to autohotkey.

That's what its there for, to share with everyone.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

That's what its there for, to share with everyone.

Thanks. I still believe in asking, afterall this is you work. Thanks alot.


Joseph MangrumCCNA, CNA, MCP, Network+

Share this post


Link to post
Share on other sites

Thanks. I still believe in asking, afterall this is you work. Thanks alot.

yw, didn't think anyone was interested in those


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0