Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-10-2007, 12:44 PM   #1 (permalink)
 
Junior Techie

Join Date: Jul 2006

Posts: 83

steak1986

Default Batch file

I am wirting a batch file and everything is working fine, i just have one question. I am trying to make it so it has as little user intervention as possible. I have made my program so that it intslls silently, so the users dont have to worry about it, then in order to configure the program i have a .reg file that merges with the current directory to give the program the proprer configuration. No when i open the .reg file i can import it just fine, the problem comes when i merge the file it opens a box in xp asking if i truly would like to merge the .reg file. What i want to happen is the program to run and answer, yes on the popup box, so that the program can install and configure the program with no user intervention. Does anyone know a switch that i can use to force it to merge, or answer the pop up box?
steak1986 is offline  
Old 04-10-2007, 01:37 PM   #2 (permalink)
Osiris's Avatar
 

Join Date: Jan 2005

Location: Kentucky

Posts: 32,058

Osiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the rough

Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris Send a message via Skype™ to Osiris
Default Re: Batch file

This is a good question, I'm looking..
__________________
Osiris is offline  
Old 04-10-2007, 01:50 PM   #3 (permalink)
fixal0t's Avatar
 
True Techie

Join Date: Oct 2006

Posts: 247

fixal0t

Default Re: Batch file

/f or -f should be the "force" switch.
Guess it depends on the application.
But yeah, those windows "are you sure" boxes can be pretty annoying.
__________________
Case:NZXT Trinity Silver PSU:Apevia Aspire 500W UV Green Motherboard:Asus A8N-SLI CPU:AMD Athlon 64 3500 CPU Cooler:Zalman CNPS7700-Cu Video:2x eVga nVidia GeForce 6800XT (256MB DDR) RAM:2Gig (4x512 Corsair TwinX dual channel) HDD:160Gig Seagate Barracuda SATA, 200Gig Maxtor SATA III CD/DVD:LG DVD ROM, NEC 16XDVD+-RW
(\__/) This is Bunny. Put him in your
(='.'=) signature and help him on his way
(")_(") to world domination

Last edited by fixal0t; 04-10-2007 at 01:51 PM. Reason: addition
fixal0t is offline  
Old 04-10-2007, 02:11 PM   #4 (permalink)
 
Junior Techie

Join Date: Apr 2007

Posts: 79

ZenOswyn is on a distinguished road

Default Re: Batch file

I agree, they can be annoying. Give this a try and let me know if it works for you. I did try this out on my side first.

Code:
regedit /S test.reg
I made a batch file and put that inside of it, I didn't get any prompts at all, and the info had been added to my registry just fine.
ZenOswyn is offline  
Old 04-10-2007, 05:00 PM   #5 (permalink)
ben_ben's Avatar
 
Super Techie

Join Date: Feb 2006

Posts: 346

ben_ben

Default Re: Batch file

type /y before the code so it answers yes without asking
ben_ben is offline  
Old 04-11-2007, 09:53 AM   #6 (permalink)
fixal0t's Avatar
 
True Techie

Join Date: Oct 2006

Posts: 247

fixal0t

Default Re: Batch file

what if it's an "OK" box?
__________________
Case:NZXT Trinity Silver PSU:Apevia Aspire 500W UV Green Motherboard:Asus A8N-SLI CPU:AMD Athlon 64 3500 CPU Cooler:Zalman CNPS7700-Cu Video:2x eVga nVidia GeForce 6800XT (256MB DDR) RAM:2Gig (4x512 Corsair TwinX dual channel) HDD:160Gig Seagate Barracuda SATA, 200Gig Maxtor SATA III CD/DVD:LG DVD ROM, NEC 16XDVD+-RW
(\__/) This is Bunny. Put him in your
(='.'=) signature and help him on his way
(")_(") to world domination
fixal0t is offline  
Old 04-11-2007, 06:03 PM   #7 (permalink)
ben_ben's Avatar
 
Super Techie

Join Date: Feb 2006

Posts: 346

ben_ben

Default Re: Batch file

its a question box lol
ben_ben is offline  
 
Closed Thread

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows xp file sharing coolray Windows Operating Systems and Software 3 01-06-2008 06:08 PM
Corrupt windows XP file, wont boot XP spikoman69 Windows Operating Systems and Software 4 07-07-2007 05:43 AM
Auto delete w/o prompt batch file Kratos Windows Operating Systems and Software 9 04-03-2007 03:18 PM
Having trouble getting a downloaded file Bendersterrier Browser & General Internet Questions 1 03-28-2007 12:42 PM
opening BIOS rom file Calibretto Windows Operating Systems and Software 2 03-28-2007 07:02 AM