Solved

Script to Call a *.reg File

Posted on 2009-05-20
3
404 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

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

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…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

691 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