473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to export multi-keys from Registry?

I want to export some keys to a reg file using "regedit /e", how to export
more keys to one file once but no only a key? thank you.
Sep 16 '08 #1
3 5574
YXQ wrote:
I want to export some keys to a reg file using "regedit /e", how to export
more keys to one file once but no only a key? thank you.
You can export registry hive:
regedit /e file.reg HKEY_CURRENT_USER\Software\Microsoft

--

Teme64 @ http://windevblog.blogspot.com
Sep 16 '08 #2
On Sep 16, 6:22*am, YXQ <Y...@discussions.microsoft.comwrote:
I want to export some keys to a reg file using "regedit /e", how to export
more keys to one file once but no only a key? thank you.
You can use "Microsoft.Win32.Registry" or "My.Computer.Registry" and
their methods to achieve getting/setting registry values but as i know
they doesn't provide functions that are meant to export registry
to .reg file directly.

In this case, you can run regedit (registry editor) using "Shell" with
parameters as if it's invoked from command-line.

Look at this:
http://uekb.shavlik.com/UpdateEXPERT...sks/UE0272.htm
http://groups.google.de/group/micros...13da2981438774

Hope this helps,

Onur Güzel
Sep 16 '08 #3
On Sep 16, 7:08*pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
On Sep 16, 6:22*am, YXQ <Y...@discussions.microsoft.comwrote:
I want to export some keys to a reg file using "regedit /e", how to export
more keys to one file once but no only a key? thank you.

You can use "Microsoft.Win32.Registry" or "My.Computer.Registry" and
their methods to achieve getting/setting registry values but as i know
they doesn't provide functions that are meant to export registry
to .reg file directly.

In this case, you can run regedit (registry editor) using "Shell" with
parameters as if it's invoked from command-line.

Look at this:http://uekb.shavlik.com/UpdateEXPERT...g/1313da298143...

Hope this helps,

Onur Güzel
Addition:
You can also use Reg.exe to export registry to .reg file which can run
from command-line.

See this if it helps:
...scroll down, method 2(a):

http://windowsxp.mvps.org/registry.htm

HTH,

Onur Güzel
Sep 16 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: goonsquad | last post by:
I have a multi-statement sql script that creates two temporary tables and then runs a query on them. The query runs fine. However, I want to use phpMyAdmin to export the data to .csv format. The...
205
by: Jeremy Siek | last post by:
CALL FOR PAPERS/PARTICIPATION C++, Boost, and the Future of C++ Libraries Workshop at OOPSLA October 24-28, 2004 Vancouver, British Columbia, Canada http://tinyurl.com/4n5pf Submissions
2
by: Phoon Chee Keong | last post by:
Hi, Anyone know how to export to excel? Any example that I can refer? Regards, PCK
0
by: Benny Ng | last post by:
Dear ALl, Now I want to export the crystal report to Excel file. But actually don't know how to export it with multiple sheet. Because sometime in some particular cases. It needs us to provided an...
1
by: socasteel21 via AccessMonster.com | last post by:
I have a multi-user database that stores warranty claims. I would like to be able to export all critical tables to a backup database when the introductory form is opened. The problem is the...
3
by: Bob Altman | last post by:
In my unmanaged C++ app (VS 2005) I have written a class that inherits from exception. I want to export this class from a library DLL, but the compiler complains because exception is not itself...
10
by: bill | last post by:
I have been searching everywhere AND am a bit new to vb .net/aspx, but can't seem to find anything that works. Specifically, I need to export a dataset from a webapp written in vb .net to a new...
1
by: tong_su | last post by:
Hi, I am using udb version 8 fixpack 12 installed on Linux. I need to move a schema from one db to another. All tables in the target and source schemas are created using 'CCSID UNICODE'. I used...
2
by: felciano | last post by:
Hi -- Is there a standard way to use the csv module to export data that contains multi-line values to Excel? I can get it mostly working, but Excel seems to have difficulty displaying the...
17
by: DeZZar | last post by:
Hi all, I need to regularly backup my database as an Excel file and have been using the File Export option. Problem is I need anyone using the database to be able to do this easily - nopt...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.