mirror of https://github.com/CrimsonTome/tldr.git
13 lines
387 B
Markdown
13 lines
387 B
Markdown
# reg export
|
|
|
|
> Export the specified sub keys and values into a file.
|
|
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/reg-export>.
|
|
|
|
- Export all sub keys and values of a specific key:
|
|
|
|
`reg export {{key_name}} {{path/to/file.reg}}`
|
|
|
|
- Force overwriting of an existing file without prompt:
|
|
|
|
`reg export {{key_name}} {{path/to/file.reg}} /y`
|