mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 22:02:55 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/windows/chkdsk
Normal file
25
tldr/windows/chkdsk
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# chkdsk
|
||||
|
||||
> Check file system and volume metadata for errors.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/chkdsk>.
|
||||
|
||||
- Specify the drive letter (followed by a colon), mount point, or volume name to check:
|
||||
|
||||
`chkdsk {{volume}}`
|
||||
|
||||
- Fix errors on a specific volume:
|
||||
|
||||
`chkdsk {{volume}} /f`
|
||||
|
||||
- Dismount a specific volume before checking:
|
||||
|
||||
`chkdsk {{volume}} /x`
|
||||
|
||||
- Change the log file size to the specified size (only for NTFS):
|
||||
|
||||
`chkdsk /l{{size}}`
|
||||
Reference in New Issue
Block a user