mirror of https://github.com/CrimsonTome/tldr.git
13 lines
390 B
Markdown
13 lines
390 B
Markdown
# reg save
|
|
|
|
> Save a registry key, its sub keys and values to a file.
|
|
> More information: <https://docs.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/to/file}}`
|
|
|
|
- Forcefully overwrite an existing file without a prompt:
|
|
|
|
`reg save {{key_name}} {{path/to/file}} /y`
|