Files
cheatsheet-tldr/tldr/windows/reg-export
2024-03-08 00:13:39 +00:00

18 lines
486 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# reg export
> Export the specified subkeys and values to a `.reg` file.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-export>.
- Export all subkeys and values of a specific key:
`reg export {{key_name}} {{path o ile.reg}}`
- Forcefully (assuming [y]es) overwrite of an existing file:
`reg export {{key_name}} {{path o ile.reg}} /y`