[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to run a .REG file from a command prompt

Posted on 2004-11-22
2
Medium Priority
?
1,946 Views
Last Modified: 2010-04-12
I have a Registry .REG file that I would like to have a .BAT file execute.  How do I get a .REG file into the Windows Registry without using the Windows interface.  IOW, how do I execute a .REG file from a C:> prompt?
0
Comment
Question by:Softtech
2 Comments
 
LVL 18

Accepted Solution

by:
arantius earned 100 total points
ID: 12651088
Softtech,

regedit.exe file.reg
0
 

Assisted Solution

by:rosshood
rosshood earned 100 total points
ID: 12658712
I would use the /s switch, that makes it not notify the user.  Better in a batch file.

regedit.exe /s myfile.reg
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In the below post we have mentioned the best hosting type for startups. Also, check out some of the superlative web hosting companies that are proposing affordable web hosting solutions to host your startup website.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question