The command reg import and reg load in Windows
The command reg import and reg load.
Reg import command
The reg import command helps to copy the contents of the file containing the subkey, entry and register value to the local computer's registry.To learn more about how to use this command, see the example section below.
Syntax reg import command
Reg import FileName
Parameter reg import command
Parameters
Describe
Specify the name and path of the file whose content will be copied to the local computer's registry.This file must be created before using the reg export command.
/?
Show help at thecommand prompt.
Generate reg import command
The following table lists the return values for the reg import command:
Value
Meaning
0
Success
first
Failure
For example, the reg import command
To enter registry entries from a file called AppBkUp.reg, type:
reg import AppBkUp.reg
Reg load command
The reg load command helps to write subkeys and entries to another subkey in the registry.Intended to be used as temporary files to troubleshoot or edit registry entries.To learn more about how to use this command, see the example section below.
Syntax reg load command
reg load KeyName FileName
Reg load command parameter
Parameters
Describe
Specify the full path of the subkey to be downloaded.To specify a remote computer, attach the computer name (in the format) as part of the KeyName parameter.In addition, parameter KeyName1 must also include a valid root key.Valid root keys for local computers are: HKLM, HKCU, HKCR, HKU and HKCC.If the remote computer is specified, valid root keys will be HKLM and HKU.
Specify the name and path of the file to download.This file must be pre-created using the reg save command and the extension is .hiv.
/?
Show help at thecommand prompt.
Reg load statement
The following table lists the return values for the reg load command:
Value
Meaning
0
Success
first
Failure
Reg load command example
To download the file named TempHive.hiv into the HKLM TempHive key, enter:
REG LOAD HKLMTempHive TempHive.hiv
See more:
- The qprocess command in Windows
- Qappsrv (query termserver) command in Windows
- The quser (query user) command in Windows
- The pubprn command and the pushprinterconnections command in Windows
You should read it
- Secedit: import command in Windows
- Reg unload command in Windows
- The bootcfg raw command in Windows
- Del command in Windows
- Set command in Windows
- Cmd command in Windows
- Command at in Windows
- Fc command in Windows
- Reg command copy in Windows
- The echo command in Windows
- The command reg add in Windows
- Rem command in Windows
Maybe you are interested
How to use Photoshop CS5 - Part 15: Remove wrinkles with the Healing Brush tool The list of foods that contain the most iron is easy to find There was a year when the Earth had no summer and the world history was changed 10 types of food enhance men's vitality 9 simple tips for perfect smiles like Hollywood stars 8 common mistakes in dental care