fsutil reparsepointfsutil reparsepoint

适用于: Windows Server (半年通道) ,Windows Server 2019,Windows Server 2016,Windows 10,Windows Server 2012 R2,Windows 8.1,Windows Server 2012,Windows 8Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8

查询或删除重新分析点。Queries or deletes reparse points. Fsutil reparsepoint命令通常由支持专业人员使用。The fsutil reparsepoint command is typically used by support professionals.

重新分析点是 NTFS 文件系统对象,这些对象具有可定义的属性,其中包含用户定义数据。Reparse points are NTFS file system objects that have a definable attribute, which contains user-defined data. 它们用于:They're used to:

  • 在 i/o) 子系统 (的输入/输出中扩展功能。Extend functionality in the input/output (I/O) subsystem.

  • 充当目录接合点和卷装入点。Act as directory junction points and volume mount points.

  • 将特定文件标记为特定于文件系统筛选器驱动程序。Mark certain files as special to a file system filter driver.

语法Syntax

fsutil reparsepoint [query] <filename>
fsutil reparsepoint [delete] <filename>

参数Parameters

参数Parameter 说明Description
queryquery 检索与指定句柄标识的文件或目录关联的重新分析点数据。Retrieves the reparse point data that is associated with the file or directory identified by the specified handle.
deletedelete 从文件或目录中删除由指定句柄标识的重新分析点,但不删除文件或目录。Deletes a reparse point from the file or directory that is identified by the specified handle, but does not delete the file or directory.
<filename> 指定文件的完整路径,包括文件名和扩展名,例如 C:\documents\filename.txtSpecifies the full path to the file including the file name and extension, for example C:\documents\filename.txt.

注解Remarks

  • 当程序设置重新分析点时,它将存储此数据以及一个重新分析标记,该标记可唯一地标识其存储的数据。When a program sets a reparse point, it stores this data, plus a reparse tag, which uniquely identifies the data it is storing. 当文件系统使用重新分析点打开文件时,它会尝试查找关联的文件系统筛选器。When the file system opens a file with a reparse point, it attempts to find the associated file system filter. 如果找到文件系统筛选器,筛选器将按重新分析数据的指示处理该文件。If the file system filter is found, the filter processes the file as directed by the reparse data. 如果找不到文件系统筛选器,则 文件打开 操作将失败。If no file system filter is found, the File open operation fails.

示例Examples

若要检索与 c:\server关联的重新分析点数据,请键入:To retrieve reparse point data associated with c:\server, type:

fsutil reparsepoint query c:\server

若要从指定的文件或目录中删除重新分析点,请使用以下格式:To delete a reparse point from a specified file or directory, use the following format:

fsutil reparsepoint delete c:\server

其他参考Additional References