Adding a registry key via batch file

-2

could anyone tell me how exactly to do this via a batch file: https://support.microsoft.com/en-us/kb/3123303

The x86 version. Much appreciated.

Al Farseer

Posted 2016-01-07T21:35:32.913

Reputation: 1

Question was closed 2016-01-07T21:44:57.097

Answers

1

Using regedit.

First create a file containing the keys you want to merge. There is a StackOverflow question here which goes into a little bit more detail about the format of the file. There is also a official Microsoft support page which documents the format fully.

Then, simply running the following command should merge all the entries in the file passed as an argument

regedit fileToMerge.reg

You can find several explanations/guides on using regedit, such as this one (can't vouch for it, just the first link that popped up in Google).

Tom Carpenter

Posted 2016-01-07T21:35:32.913

Reputation: 856