A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Auto-updating Registry via batch file



 
 
Thread Tools Display Modes
  #1  
Old May 10th 06, 01:00 AM posted to microsoft.public.windowsxp.customize
external usenet poster
 
Posts: n/a
Default Auto-updating Registry via batch file

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
Ads
  #2  
Old May 10th 06, 01:06 AM posted to microsoft.public.windowsxp.customize
external usenet poster
 
Posts: n/a
Default Auto-updating Registry via batch file

Regedit /s file.reg

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"JaimeZX" wrote in message ...
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

  #3  
Old May 10th 06, 01:24 AM posted to microsoft.public.windowsxp.customize
external usenet poster
 
Posts: n/a
Default Auto-updating Registry via batch file

Cool, thanks David!

"David Candy" wrote:

Regedit /s file.reg

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"JaimeZX" wrote in message ...
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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
scan for file corruption ms. greenhorn New Users to Windows XP 10 July 7th 10 08:11 PM
Bloody hound SirWhale Windows XP Help and Support 16 February 25th 06 01:20 AM
SP windows installation problem error 126 setupapi.log Snoepie General XP issues or comments 1 February 5th 06 02:06 PM
Can't install Critical Update for Windows XP Media Center Edition2004 (KB838358) Ant General XP issues or comments 7 May 19th 05 03:21 AM
Task Manager Hell!!!!! McFly Security and Administration with Windows XP 0 October 15th 04 08:05 AM






All times are GMT +1. The time now is 06:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.