File
The file mode lets you perform tasks with files. Some of the tasks are quite mundane. For example,
you can create a new file of a specific size. The file mode will even fill the file with zeros for you.
Other tasks are unique. The findbysid argument lets you locate a file using its Security Identifier
(SID). This mode uses the following syntax:
FSUtil File [findbysid UserName Directory] [queryallocranges
Offset=StartRange Length=RangeLength Filename] [setshortname Filename
ShortFilename] [setvaliddata Filename DataLength] [setzerodata
Offset=StartRange Length=RangeLength Filename] [createnew Filename Length]
The following list describes each of the command line arguments.
findbysid UserName Directory Locates a file based on the user??™s SID. The username argument
contains a local user??™s name, which the operating system maps to the SID. FSUtil then
locates the file based on this SID in the directory supplied. Unlike other command line utilities,
this one lets you search for files that belong to specific users on an NTFS volume.
queryallocranges Offset=StartRange Length=RangeLength Filename Displays a list of
allocated ranges within the specified file.
Pages:
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596