Files
tldr/pages.zh/windows/chkdsk.md

20 lines
478 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.

# chkdsk
> 检查文件系统和卷元数据中的错误。
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/chkdsk>。
- 指定要检查的驱动器字母(后跟冒号)、挂载点或卷名称:
`chkdsk {{volume}}`
- 修复特定卷上的错误:
`chkdsk {{volume}} /f`
- 在检查之前卸载特定卷:
`chkdsk {{volume}} /x`
- 将日志文件大小更改为指定大小仅适用于NTFS
`chkdsk /l{{size}}`