wesb 0 Posted June 11, 2004 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
CyberSlug 6 Posted June 11, 2004 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.txtYou 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
jmangrum 0 Posted October 12, 2006 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.txtYou have to specify a key (SOFTWARE in the example), so you may want to look at the RegEnum function available in the unstable AutoIt versionYou 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
GaryFrost 18 Posted October 12, 2006 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 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
jmangrum 0 Posted October 12, 2006 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 Functionssweet.. 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
GaryFrost 18 Posted October 12, 2006 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
jmangrum 0 Posted October 12, 2006 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
GaryFrost 18 Posted October 12, 2006 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