ryzion Posted October 19, 2011 Share Posted October 19, 2011 Hi guys, I've found various solutions for delteting registry values using wildcards but none for changing them. Lets say I have to change the value of the keys ending with config e.g. "various...data config" in HKLM\Path\Version.Version\config what would be the best way to approach it? best regards Link to comment Share on other sites More sharing options...
Mikeman27294 Posted October 19, 2011 Share Posted October 19, 2011 The reason that you cannot input with a wildcard, is because wildcards are used for searching. If I understand what you want to do correctly, you would want to read the values first, you would probably want to split it, and then you would write to the registry. Without knowing what sort of data you will be dealing with though, it is quite hard to give a definite answer. Can you please give an example of what sort of value you want to change, and what you want to change it to? Link to comment Share on other sites More sharing options...
ryzion Posted October 20, 2011 Author Share Posted October 20, 2011 Hi, it's a string (REG_EXPAND_SZ) with random content, I'll have to overwrite. keyname looks like "%some_pc_components% configuration", the value is random data. Link to comment Share on other sites More sharing options...
ryzion Posted October 20, 2011 Author Share Posted October 20, 2011 sorry I ment the valuename looks like "%some_pc_components% configuration", the key is always the same Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now