Tools Links Login

Import Export Registry Keys

Import And Export Registry Keys

Original Author: Vincent Zack

Code

Function ExportNode(sKeyPath As String, sOutFile As String)
'
'Example:
'ExportNode "HKEY_LOCAL_MACHINEsoftwaremicrosoft","c:windowsdesktopout.reg"
'
'/E (Export) switch
Shell "regedit /E " & sOutFile & " " & sKeyPath
End Function
Function ImportNode(sInFile As String)
'
'Example:
'ImportNode "c:windowsdesktop eg.reg"
'
'/I (Import) /S (Silent) switchs
Shell "regedit /I /S " & sInFile
End Function

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 90 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.