Solved

Script to Call a *.reg File

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

19 Experts available now in Live!

Get 1:1 Help Now