LoadHive( )
| Action: | Creates
a subkey under HKEY_USERS or HKEY_LOCAL_MACHINE and stores registration
information from a specified file into that subkey. This registration
information is in the form of a hive. A hive is a discrete body of keys,
subkeys, and values that is rooted at the top of the registry hierarchy. A
hive is backed by a single file and .LOG file. |
||||
| Syntax: | LOADHIVE
("key", "file name") |
||||
| Parameters: |
Key
File name
|
||||
| Remarks: |
On
Windows NT, using LOADHIVE requires Backup and Restore privileges. |
||||
| Returns: |
|
||||
| See Also: |
LoadKey( ), SaveKey(
), UnloadHive( ) |
||||
| Example: |
$ReturnCode
= LoadHive("HKEY_USERS\EZReg", "c:\temp\tst.reg") |