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

12 lines
365 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 export
> 将指定的子键和值导出到`.reg`文件中。
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/reg-export>。
- 导出特定键的所有子键和值:
`reg export {{key_name}} {{path\to\file.reg}}`
- 强制覆盖现有文件(假设[y]es
`reg export {{key_name}} {{path\to\file.reg}} /y`