0

As the questions says I am trying to call all my specified registry files (.reg) files with a simple batch file. When the user clicks on the batch file it will run and add .reg files to the registry, i also need this to run silently without a Administrative Privileges popup to make changes to the registry. So for example say Quicktime.Mov is the registry file i would like to call and add to the registry, when Quicktime.Mov.reg is called from mybatch.bat it runs a script and adds that specified .reg file to registry without the user knowing, I am not trying to make anything malicious its actually quite the opposite, I am trying to correct some errors people are having when installing quicktime. If your confused and i didn't explain this well then i will try my utter most best to help define it more without having a long run on sentence. Thanks again by helping me with this you will be helping others fix quicktime's installation error.

4

1 回答 1

0

You can add .reg files to the registry silently with batch using this:

regedit.exe /s regfile.reg

If it requires admin rights to add to the registry i.e. in HKLM then it might error or just not work, but I think that's the best you can do with batch.

于 2012-05-23T09:35:12.823 回答