import registry key without prompting

S

stev379

I have a script to install a program that needs registry
settings adjusted after the install. We can do it with a
script, but there are a lot of values and it would be
easier to just import the registy settings from an
exported .reg file.

How can I import a .reg file without being prompted to
click "yes or no"? The import should be completely hidden
from the user.


Any help is appreciated!
Thanks!
-Steve
 
D

Dave Patrick

regedit /s "filename.reg"

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have a script to install a program that needs registry
| settings adjusted after the install. We can do it with a
| script, but there are a lot of values and it would be
| easier to just import the registy settings from an
| exported .reg file.
|
| How can I import a .reg file without being prompted to
| click "yes or no"? The import should be completely hidden
| from the user.
|
|
| Any help is appreciated!
| Thanks!
| -Steve
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top