Re: Exporting/Importing Registry keys
- From: Alan Edwards <edwards@xxxxxxxxxxxxxxx>
- Date: Thu, 10 Aug 2006 08:50:58 +1000
Regedit can be run with no interaction.
Here is a one line batch file to export a specific key:
(One line but may wrap)
REGEDIT /e url.reg
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\URL
Here is a one line batch file to merge that key:
REGEDIT /s url.reg
You can specify a path for the filename if you wish.
Enclose any key with spaces in quotation marks.
....Alan
--
Alan Edwards, MS MVP Windows - Internet Explorer
http://dts-l.org/index.html
On Wed, 9 Aug 2006 14:40:14 -0700, in
microsoft.public.windowsxp.general, Vidya
<Vidya@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,.
Thanks for the response. But my problem is "I cannot run in an interactive
mode" - I need something that is non-interactive. This will not work.
Any other suggestions?
Thanks
"Gel" wrote:
from dos run command "regedit"
Then select "file/export"; remember where to!!
To run, right click and select "merge" I recall.
Vidya wrote:
Hi,
What is the best/recommend way to export and import custom registry keys.
I use
reg export <RootKey>\<SubKey> <FileName> /y
The problem is this works great on Windows 2003 SP1 but the '/y' option is
missing in Windows XP SP2. I cannot run this command in an interactive mode
and hence '/y' is really important.
Any suggestions/clues.
Thanks
Vidya
- References:
- Re: Exporting/Importing Registry keys
- From: Gel
- Re: Exporting/Importing Registry keys
- Prev by Date: Re: security for flash drive?
- Next by Date: problem when uninstall sp2
- Previous by thread: Re: Exporting/Importing Registry keys
- Next by thread: Re: Exporting/Importing Registry keys
- Index(es):
Relevant Pages
|