The reg export command in Windows
The reg expor t command helps copy the subkey, entry and specified values of the local computer to a file for export to other servers.To learn more about how to use this command, see the example section below.
The syntax of the export reg command
Reg export KeyName FileName [/ y]
The parameter export command reg
Parameters
Describe
Specify the full path of the subkey.The file export operation contains a subkey that only works on the local computer.The KeyName parameter must include a valid root key.Valid root keys are: HKLM, HKCU, HKCR, HKU and HKCC.
Specify the name and path of the file created during file export.The file must have an extension of .reg.
/ y
Overwrite any file named FileName available on the system without prompting to confirm.
/?
Show help at thecommand prompt.
Note the reg export command
The following table lists the return values for the reg export command :
Value
Meaning
0
Success
first
Failure
Example of the reg export command
To export the contents of all subkeys and the value of the key named MyApp to the AppBkUp.reg file, enter:
reg export HKLMSoftwareMyCoMyApp AppBkUp.reg
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
- How to set up and use the Quick Export feature in Photoshop
- How to export emails from Mail to Note on Mac
- How to export printing images in Photoshop
- Del command in Windows
- Steps to export Microsoft Access data to Word documents
- How to export photos, save photos in Photoshop
- How to export the Registry key in Windows
- Set command in Windows
May be interested
- How to use the option equivalent to the 'ls' command in Windowsthe 'ls' command (note ls, not is) is one of the first terminal commands veterans teach to linux beginners.
- The command reg add in Windowsthe reg add command adds new subkeys or entries to the registry.
- Rem command in Windowsthe rem command helps write comments (comments) in a batch file or config.sys.
- Instructions for using Command Promptdeep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
- Rd command in Windowsthe rd command helps delete a directory
- Cmd command in Windowsthe cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
- How to use the command history function in Command Promptcommand prompt is an extremely familiar command for anyone using windows operating system. besides, a lot of current software also supports the command line to perform actions on the command prompt window, instead of on the screen.
- The sfc command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Reg command copy in Windowsto copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
- Fc command in Windowsthe fc command compares two files or a collection of files and displays the differences between them.