Provides access to NTFS junction points in .Net.
JunctionPoint
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Create | 1 | Creates a junction point from the specified directory to the specified target directory. |
| Delete | 1 | Deletes a junction point at the specified source directory along with the directory itself. |
| Exists | 1 | Determines whether the specified path exists and refers to a junction point. |
| GetTarget | 1 | Gets the target of the specified junction point. |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| ERROR_NOT_A_REPARSE_POINT | 1 | The file or directory is not a reparse point. |
| ERROR_REPARSE_ATTRIBUTE_CONFLICT | 1 | The reparse point attribute cannot be set because it conflicts with an existing attribute. |
| ERROR_INVALID_REPARSE_DATA | 1 | The data present in the reparse point buffer is invalid. |
| ERROR_REPARSE_TAG_INVALID | 1 | The tag present in the reparse point buffer is invalid. |
| ERROR_REPARSE_TAG_MISMATCH | 1 | There is a mismatch between the tag specified in the request and the tag present in the reparse point. |
| FSCTL_SET_REPARSE_POINT | 1 | Command to set the reparse point data block. |
| FSCTL_GET_REPARSE_POINT | 1 | Command to get the reparse point data block. |
| FSCTL_DELETE_REPARSE_POINT | 1 | Command to delete the reparse point data base. |
| IO_REPARSE_TAG_MOUNT_POINT | 1 | Reparse point tag used to identify mount points and junction points. |
| NonInterpretedPathPrefix | 1 | This prefix indicates to NTFS that the path is to be treated as a non-interpreted path in the virtual file system. |
04 Members
String, String, Boolean)Creates a junction point from the specified directory to the specified target directory.
Only works on NTFS.
| Name | Type | Description |
|---|---|---|
junctionPoint | String | The junction point path |
targetDir | String | The target directory |
overwrite | Boolean | If true overwrites an existing reparse point or empty directory |
String)Deletes a junction point at the specified source directory along with the directory itself. Does nothing if the junction point does not exist.
Only works on NTFS.
| Name | Type | Description |
|---|---|---|
junctionPoint | String | The junction point path |
String)Determines whether the specified path exists and refers to a junction point.
| Name | Type | Description |
|---|---|---|
path | String | The junction point path |
True if the specified path represents a junction point
String)Gets the target of the specified junction point.
Only works on NTFS.
| Name | Type | Description |
|---|---|---|
junctionPoint | String | The junction point path |
The target of the junction point
The file or directory is not a reparse point.
The reparse point attribute cannot be set because it conflicts with an existing attribute.
The data present in the reparse point buffer is invalid.
The tag present in the reparse point buffer is invalid.
There is a mismatch between the tag specified in the request and the tag present in the reparse point.
Command to set the reparse point data block.
Command to get the reparse point data block.
Command to delete the reparse point data base.
Reparse point tag used to identify mount points and junction points.
This prefix indicates to NTFS that the path is to be treated as a non-interpreted path in the virtual file system.