fsutil
Windows CMD · System · reference only
What it does
Advanced NTFS file system utilities: free space, volume information, creating test files and system behaviour.
Syntax
fsutil área orden [opciones]
Options and parameters
volume diskfree unidadShows the free and total space of a drive.
fsinfo drivesLists the machine's drives.
file createnew nombre tamañoCreates a file of the given size in bytes, filled with zeros.
dirty query unidadChecks whether the volume is marked dirty, that is, pending a check.
behavior query opciónQueries a file system setting.
hardlink list ficheroLists a file's hard links.
Usage examples
fsutil volume diskfree C:Shows the free space of drive C.
fsutil fsinfo drivesLists all drives.
fsutil file createnew prueba.bin 1048576Creates a 1 MiB test file.
fsutil dirty query C:Tells whether C: needs an error check.
Notes and common mistakes
- Almost all commands require an administrator console.
- Wrong use of some areas can damage the file system.