Script to Call a *.reg File

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).
waforbes100Asked:
Who is Participating?
 
my2eggsConnect With a Mentor Commented:
regedit.exe /s "path of .reg file"

http://support.microsoft.com/kb/310516
0
 
Todd MummertCommented:

regedit /s file.reg
0
 
waforbes100Author Commented:
Perfect! And E-a-s-y! Many thanks!
0
All Courses

From novice to tech pro — start learning today.