Jump to content

Problem with the registry


Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...