Auto-updating Registry via batch file

G

Guest

I have the computers in my office set up so that a batch file runs when the
user logs in. I've added the following lines to it
-----------------------
REM: [Add Registry values]
I:\redbg.reg
----------------------
The problem is that when the batch file runs, the user is asked "do you want
to add the information in redbg.reg to the Registry?" (Well, that's
paraphrased.)

Is there a way I can run the .reg through without asking the user?

Something like
I:\redbg.reg /force or what?

Ideas? Thanks in advance. I'm still learning this stuff.

Warm regards,

Jim
 
G

Guest

Cool, thanks David! :)

David Candy said:
Regedit /s file.reg

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
JaimeZX said:
I have the computers in my office set up so that a batch file runs when the
user logs in. I've added the following lines to it
-----------------------
REM: [Add Registry values]
I:\redbg.reg
----------------------
The problem is that when the batch file runs, the user is asked "do you want
to add the information in redbg.reg to the Registry?" (Well, that's
paraphrased.)

Is there a way I can run the .reg through without asking the user?

Something like
I:\redbg.reg /force or what?

Ideas? Thanks in advance. I'm still learning this stuff.

Warm regards,

Jim
 

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