//flex table opened by JP

Click to See Complete Forum and Search --> : is there a way to edit the registry w/o getting the "are u sure??" question??


zskillz
10-28-2001, 11:21 PM
here's the deal. I want to be able to run a *.reg file without having to worry about answering the "are you sure you want to merge this into the registry?" question. I thought that making a bat file that would run the reg file might work, but I haven't been able to do it yet. I know that i could use some VB stuff to do this, but I want it to work on all computers that don't have all of the VB dll's and that ****.

anyway, I would really appreciate any sort of help that someone can give me on this one.

thanks
-Z

Steve R Jones
10-29-2001, 07:09 AM
Found this little trick that you might like:

Whenever a *.reg file is run to update a registry key, the following dialog window is displayed:

Information in <file name>.reg has been successfully entered into the registry.

In some situations, such as in batch files, you may want to bypass this window.

To bypass this dialog window use the following command line:

Regedit /s <file name>.reg


On your original question, you might try the /y switch. Its a "yes" switch that works on several batch file commands.