|
-
April 3rd, 2001, 06:29 AM
#1
Registry
How can I export a particular branch of the registry to a text file??
-
April 3rd, 2001, 10:05 AM
#2
Re: Registry
The easiest way is to Export to a file using regedit do this :
add a command button to a form
Private Sub Command1_Click()
Dim RegCmd As String
RegCmd = "regedit /E C:\output.txt HKEY_CURRENT_USER\Software\Microsoft"
Shell RegCmd, vbMinimizedFocus
End Sub
This will create a C:\output.txt file (should be a .reg) it's a exported segment of the registry.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|