Windows Tools: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
A lot of work, more to come.
Again, more to come.
Line 33:
The last parameter can take the value 0 (enable) or 1 (disable). This is somewhat odd; the reason behind it is probably that Microsoft, in order to avoid confusion, decided to preserve these values, which are also used in a similar command.
|-
| rowspan="4" | file
| file || createnew
| createnew || Creates an empty file (all zeroes) of some size specified in bytes. Example:
<source lang="dos">fsutil createnew foobar 42</source>
|-
| setshortname || Sets the 8.3 name for a file (while preserving its long name). Example:
<source lang="dos">fsutil setshortname foobarbaz fooba~1</source>
|-
| setvaliddata || Sets the VDL for a file. Example:
<source lang="dos">fsutil setvaliddata foobar 4096</source>
|-
| setzerodata || Sets one or more bytes in a file to zero. Example:
<source lang="dos">fsutil setzerodata foobar offset=42 length=42 foobar</source>
|}