VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Import Export Registry Keys

by Vincent Zack (3 Submissions)
Category: Registry
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

Import And Export Registry Keys

Rate Import Export Registry Keys

Function ExportNode(sKeyPath As String, sOutFile As String)
'
'Example:
'ExportNode "HKEY_LOCAL_MACHINE\software\microsoft","c:\windows\desktop\out.reg"
'
'/E (Export) switch
Shell "regedit /E " & sOutFile & " " & sKeyPath
End Function
Function ImportNode(sInFile As String)
'
'Example:
'ImportNode "c:\windows\desktop\reg.reg"
'
'/I (Import) /S (Silent) switchs
Shell "regedit /I /S " & sInFile
End Function

Download this snippet    Add to My Saved Code

Import Export Registry Keys Comments

No comments have been posted about Import Export Registry Keys. Why not be the first to post a comment about Import Export Registry Keys.

Post your comment

Subject:
Message:
0/1000 characters