Sign in to follow this  
Followers 0
GoogleDude

Getting a dynamic Reg Key to set var?

2 posts in this topic

#1 ·  Posted (edited)

I have a registry key with a value that I want to set as a $var but the subkeys are dynamic and are slightly different on some PCs.

for example.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{GUID}021 <---- 0021 is dynamic, inside 0021 there is a key "InfPath" with a data value of "oem08.inf" <----oem08.inf is also dynamic but oem08.inf is what I want to set as the $var. How can I do this or can it be done with AutoIt?

Basicly what I am after is I need to get the OEM#.inf that a windows driver uses and the path that it is in. I know that the location will pretty much always be C:\Windows\INF\ but the OEM#.inf is dynamic.

Hope this makes sense.

Thank you to anyone who can help out with this.

GoogleDude

Edited by GoogleDude

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