Jump to content
Sign in to follow this  
firesailer

Problem with the registry

Recommended Posts

firesailer

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?

Share this post


Link to post
Share on other sites
hannes08

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]

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  

×