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

20 lines
490 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 delete
> 从注册表中删除键或它们的值。
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/reg-delete>。
- 删除特定的注册表键:
`reg delete {{key_name}}`
- 删除特定键下的 [v]alue
`reg delete {{key_name}} /v {{value}}`
- 递归删除指定键下的 [a]ll [v]alues
`reg delete {{key_name}} /va`
- [f]orcefully无需提示递归删除键下的 [a]ll [v]alues
`reg delete {{key_name}} /f /va`