SaveKey( )
| Action: | Saves
a registry key (including its subkeys and value entries) to a file. |
||||
| Syntax: | SAVEKEY
("subkey", "file
name") |
||||
| Parameters: |
Subkey
File name
|
||||
| Remarks: |
When this function runs, the destination file
is overwritten without warning.
On
Windows NT, running SAVEKEY requires Backup and Restore privileges. |
||||
| Returns: |
|
||||
| See Also: |
LoadKey( ) |
||||
| Example: |
$ReturnCode
= SaveKey("HKEY_CURRENT_USER\EZReg", "c:\temp\tst.reg") |