How to enter a .reg file into the registry automatically ?

When you double click on a. reg file it pops up with a warning box saying do you want to add this information to the registry? How would you make a batch file to enter this information without giving the user the option to mess things up and press no ?.

Everything New Technology 1823 This topic was started by ,


data/avatar/default/avatar27.webp

63 Posts
Location -
Joined 2001-09-16
When you double click on a .reg file it pops up with a warning box saying do you want to add this information to the registry?
 
How would you make a batch file to enter this information without giving the user the option to mess things up and press no ?

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar01.webp

738 Posts
Location -
Joined 2002-12-11
regedit /s mynewreg.reg
 
The above will work, provided the user has permissions to write to the registry
 
.....Insomnia..... x)