*.reg file- registry editing

I would like to know how do I use the *.reg files for editing my registry without getting the question "Are you sure you want.....?". Is there any flag or command line that I can use in order to avoid that question and automatically update the data.
Who is Participating?
cmcgeeConnect With a Mentor Commented:
If you were wanting to enter a Reg file without the user knowing, you will need to use the /S switch.

For Example, I have a reg file on my desktop named net.reg

This will be the command line.

regedit /s c:\windows\desktop\net.reg

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.