import registry key without prompting

  • Thread starter Thread starter stev379
  • Start date Start date
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
 
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
|
 
Back
Top