installing reg key through batch file

  • Thread starter Thread starter pete
  • Start date Start date
P

pete

can someone please help me import a registry key from a
batch file silently? when i run the batch it brings up a
pop up box that ask are you sure you want to change the
registry key blahblahblah? is there a command i can put in
my batch file that makes it choose yes? thanks for any help

net use /d j:
net use j: \\server\folder
j:
start blahblah.reg
net use /d j:

i thought it was something like
start blahblah.reg /s
or
start blahblah.reg /y
but i cant figure it out. please help
 
In
pete said:
can someone please help me import a registry key from a
batch file silently? when i run the batch it brings up a
pop up box that ask are you sure you want to change the
registry key blahblahblah? is there a command i can put in
my batch file that makes it choose yes? thanks for any help

net use /d j:
net use j: \\server\folder
j:
start blahblah.reg
net use /d j:

i thought it was something like
start blahblah.reg /s
or
start blahblah.reg /y
but i cant figure it out. please help

Try:

regedit /s blahblah.reg

ws
 
Back
Top