Copies the contents of a file that contains exported registry subkeys, entries, and values into the registry of the local computer.
For examples of how to use this command, see Examples.
Syntax
Reg import FileName
Parameters
Parameter | Description |
---|---|
<FileName> |
Specifies the name and path of the file that has content to be copied into the registry of the local computer. This file must be created in advance by using reg export. |
/? |
Displays help for reg import at the command prompt. |
Remarks
The following table lists the return values for the reg import operation.
Value | Description |
---|---|
0 |
Success |
1 |
Failure |
Examples
To import registry entries from the file named AppBkUp.reg, type:
reg import AppBkUp.reg