creating a batch file to copy .reg files to the registry

SirChadwick

Diamond Member
Jul 27, 2001
4,595
1
81
I'm trying to create a batch file that I can distribute to multiple users on our Network that will copy 3 files from our network drive to their registry. Does anyone know the command for this?
 

SirChadwick

Diamond Member
Jul 27, 2001
4,595
1
81
nvm, think i figured it out... correct me if i'm wrong

REGEDIT X:\program name here\licensekey.reg
 

Joemonkey

Diamond Member
Mar 3, 2001
8,859
4
0
that's right, but to squelch the confirmation box put in a /s like this:

regedit /s \\servername\directory\file.reg

or

regedit /s C:\whatever\file.reg