text stringlengths 0 4.23k |
|---|
fsutil file [setzerodata] offset=<offset> length=<length> <filename> |
Parameters |
Parameter |
Description |
createnew |
Creates a file of the specified name and size, with content that consists of zeroes. |
<length> |
Specifies the file's valid data length. |
findbysid |
Finds files that belong to a specified user on NTFS volumes where Disk Quotas are enabled. |
<username> |
Specifies the user's user name or logon name. |
<directory> |
Specifies the full path to the directory, for example C:\users. |
optimizemetadata |
This performs an immediate compaction of the metadata for a given file. |
/a |
Analyze file metadata before and after optimization. |
queryallocranges |
Queries the allocated ranges for a file on an NTFS volume. Useful for determining whether a file has sparse regions. |
offset=<offset> |
Specifies the start of the range that should be set to zeroes. |
length=<length> |
Specifies the length of the range (in bytes). |
queryextents |
Queries extents for a file. |
/r |
If <filename> is a reparse point, open it rather than its target. |
<startingvcn> |
Specifies first VCN to query. If omitted, start at VCN 0. |
<numvcns> |
Number of VCNs to query. If omitted or 0, query until EOF. |
queryfileid |
Queries the file ID of a file on an NTFS volume. |
<volume> |
Specifies the volume as drive name followed by a colon. |
queryfilenamebyid |
Displays a random link name for a specified file ID on an NTFS volume. Since a file can have more than one link name pointing to that file, it is not guaranteed which file link will be provided as a result of the query for the file name. |
<fileid> |
Specifies the ID of the file on an NTFS volume. |
queryoptimizemetadata |
Queries the metadata state of a file. |
queryvaliddata |
Queries the valid data length for a file. |
/d |
Display detailed valid data information. |
seteof |
Sets the EOF of the given file. |
setshortname |
Sets the short name (8.3 character-length file name) for a file on an NTFS volume. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.