tldr/pages/windows/reg-export.md

13 lines
388 B
Markdown
Raw Normal View History

2018-01-28 12:16:13 +00:00
# reg export
> Export the specified sub keys and values into a file.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-export>.
2018-01-28 12:16:13 +00:00
- 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`