Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

reg import

Feedback

In this article

Copies the contents of a file that contains exported registry subkeys, entries, and values into the registry of the local computer.

Syntax

reg import <filename>

Parameters

ParameterDescription
<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 usingreg export.
/reg:32Specifies the key should be accessed using the 32-bit registry view.
/reg:64Specifies the key should be accessed using the 64-bit registry view.
/?Displays help at the command prompt.

Remarks

  • The return values for thereg import operation are:

    ValueDescription
    0Success
    1Failure

Examples

To import registry entries from the file named AppBkUp.reg, type:

reg import AppBkUp.reg

Related links


Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo