View Full Version : Adding a Reg file
Anonymous
08-30-1999, 08:30 PM
Can anyone please tell me how to stop the "confirmation" box and the "acknowledgement" box when adding a reg file into the registry. I know in a GUI you have to click yes to import the file and then confirm the entry too. Is there a tweak to disable this ? How Can I import a reg file from within a batch file and have the reg file execute silently ?
Any response would be greatly appreciated !
Thanks
Talleanice@aol.com
jstolz
08-31-1999, 01:54 AM
Can anyone please tell me how to stop the "confirmation" box and the "acknowledgement" box when adding a reg file into the registry. I know in a GUI you have to click yes to import the file and then confirm the entry too. Is there a tweak to disable this ? --No, there's a switch. Use the /s switch, as in regedit /s file.reg
How Can I import a reg file from within a batch file and have the reg file execute silently ?
I think you mean "export a reg key to a reg file" when you say "import a reg file" If so, use the following syntax in your batch file:
regedit /s /m /e [d:][path]filename.reg "H-KEY_...."
where:
s suppresses confirmation dialogue box
/m runs it minimized
/e tells it to extract the reg key to the file rather than import the contents of the file to the registry
"H-KEY_..." is the branch of the registry you want to copy to the regfile. Note the double-quotes.
Regards...
Regards...
Anonymous
09-08-1999, 07:49 AM
Thanks alot JS hoping to reach your plateau of knowledge at some point
with respect
Talleanice
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.