firesailer Posted October 29, 2012 Share Posted October 29, 2012 Hello! At the moment I want to write a script that sets different values in the registry. During this procedure I'm facing the following problem: I want to set a key which has no fixed path. In windows there are pathes that include something like this: {9234384234234242} My script should just do that for every subpath like this in a specific path. So I tried the following but it doesn't work. RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\{*}\Parameters\TCPip\", "IPAddress", "REG_MULTI_SZ", "192.18.96.15") Has anybody an idea how to do that? Link to comment Share on other sites More sharing options...
hannes08 Posted October 29, 2012 Share Posted October 29, 2012 You can use RegEnumKey to get all records under a specific Registry key. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] 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