installing reg key through batch file

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
 
W

Wadester

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top