Solved

Script to Call a *.reg File

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

766 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