README.md
December 4, 2022 ยท View on GitHub
Description
Import And Export Registry Keys
More Info
| Submitted On | |
| By | Vincent Zack |
| Level | Intermediate |
| User Rating | 4.0 (12 globes from 3 users) |
| Compatibility | VB 4.0 (32-bit), VB 5.0, VB 6.0 |
| Category | Registry |
| World | Visual Basic |
| Archive File |
Source Code
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