Solved

Script to Call a *.reg File

Posted on 2009-05-20
3
400 Views
Last Modified: 2012-06-27
I need a VBS or BAT script that can execute a *.reg file (registry file), so that the *.reg file is merged into the local registry.
Intended Action: the script should be identical to double-clicking/importing a registry file (*.reg).
0
Comment
Question by:waforbes100
3 Comments
 
LVL 4

Accepted Solution

by:
my2eggs earned 500 total points
ID: 24435008
regedit.exe /s "path of .reg file"

http://support.microsoft.com/kb/310516
0
 
LVL 11

Expert Comment

by:climbgunks
ID: 24435032

regedit /s file.reg
0
 

Author Closing Comment

by:waforbes100
ID: 31583656
Perfect! And E-a-s-y! Many thanks!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 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