Files
cheatsheet-tldr/tldr/windows/reg-save

18 lines
481 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 save
> Save a registry key, its sub keys and values to a file.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-save>.
- Save a registry key, its sub keys and values to a specific file:
`reg save {{key_name}} {{path o ile}}`
- Forcefully overwrite an existing file without a prompt:
`reg save {{key_name}} {{path o ile}} /y`