regedit import without the "are you sure" message box?

  • Thread starter Thread starter John
  • Start date Start date
J

John

I have a .bat file that sets up some demo data sets. As well as other
things, the .bat runs something.reg to import something.reg's settings to
the registry.

How can I do that without having this message box "Are you sure you want to
add the ... " popping up and waiting?

Thanks
 
John said:
I have a .bat file that sets up some demo data sets. As well as other
things, the .bat runs something.reg to import something.reg's settings to
the registry.

How can I do that without having this message box "Are you sure you wantto
add the ... " popping up and waiting?

Add the /s switch to regedit's command line in the file association for
..reg
 

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

Back
Top