Method | Description | |
---|---|---|
Create ( |
Creates a junction point from the specified directory to the specified target directory. Only works on NTFS. |
|
Delete ( |
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. |
|
Exists ( |
Determines whether the specified path exists and refers to a junction point.
|
|
GetTarget ( |
Gets the target of the specified junction point. Only works on NTFS. |
Method | Description | |
---|---|---|
CreateFile ( string lpFileName, EFileAccess dwDesiredAccess, EFileShare dwShareMode, |
||
DeviceIoControl ( |
||
InternalGetTarget ( SafeFileHandle handle ) : string | ||
OpenReparsePoint ( |
||
ThrowLastWin32Error ( string message ) : void |
public static Create ( |
||
junctionPoint | The junction point path | |
targetDir | string | The target directory |
overwrite | bool | If true overwrites an existing reparse point or empty directory |
return | void |
public static Delete ( |
||
junctionPoint | The junction point path | |
return | void |
public static Exists ( |
||
path | The junction point path | |
return | bool |
public static GetTarget ( |
||
junctionPoint | The junction point path | |
return |