Solved

Script to Call a *.reg File

Posted on 2009-05-20
3
397 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

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now