Files
tldr/pages.zh/windows/reg-save.md

12 lines
395 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# reg save
> 将注册表项及其子项和值保存到本地 `.hiv` 文件中。
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/reg-save>。
- 将注册表项及其子项和值保存到指定文件:
`reg save {{key_name}} {{path\to\file.hiv}}`
- 强制覆盖现有文件(假设为[y]es
`reg save {{key_name}} {{path\to\file.hiv}} /y`