Click or drag to resize

DirectoryInfoCreateJunction Method

Overload List
  NameDescription
Public methodCreateJunction(String)
[AlphaFS] Converts the DirectoryInfo instance into a directory junction instance (similar to CMD command: "MKLINK /J").
Remarks

 

The directory must be empty and reside on a local volume.

 

MSDN: A junction (also called a soft link) differs from a hard link in that the storage objects it references are separate directories,

and a junction can link directories located on different local volumes on the same computer.

Otherwise, junctions operate identically to hard links. Junctions are implemented through reparse points.

Public methodCreateJunction(String, PathFormat)
[AlphaFS] Converts the DirectoryInfo instance into a directory junction instance (similar to CMD command: "MKLINK /J").
Remarks

 

The directory must be empty and reside on a local volume.

 

MSDN: A junction (also called a soft link) differs from a hard link in that the storage objects it references are separate directories,

and a junction can link directories located on different local volumes on the same computer.

Otherwise, junctions operate identically to hard links. Junctions are implemented through reparse points.

Public methodCreateJunction(String, Boolean)
[AlphaFS] Converts the DirectoryInfo instance into a directory junction instance (similar to CMD command: "MKLINK /J").
Remarks

 

The directory must be empty and reside on a local volume.

 

MSDN: A junction (also called a soft link) differs from a hard link in that the storage objects it references are separate directories,

and a junction can link directories located on different local volumes on the same computer.

Otherwise, junctions operate identically to hard links. Junctions are implemented through reparse points.

Public methodCreateJunction(String, Boolean, PathFormat)
[AlphaFS] Converts the DirectoryInfo instance into a directory junction instance (similar to CMD command: "MKLINK /J").
Remarks

 

The directory must be empty and reside on a local volume.

 

MSDN: A junction (also called a soft link) differs from a hard link in that the storage objects it references are separate directories,

and a junction can link directories located on different local volumes on the same computer.

Otherwise, junctions operate identically to hard links. Junctions are implemented through reparse points.

Public methodCreateJunction(String, Boolean, Boolean)
[AlphaFS] Converts the DirectoryInfo instance into a directory junction instance (similar to CMD command: "MKLINK /J").
Remarks

 

The directory must be empty and reside on a local volume.

 

MSDN: A junction (also called a soft link) differs from a hard link in that the storage objects it references are separate directories,

and a junction can link directories located on different local volumes on the same computer.

Otherwise, junctions operate identically to hard links. Junctions are implemented through reparse points.

Public methodCreateJunction(String, Boolean, Boolean, PathFormat)
[AlphaFS] Converts the DirectoryInfo instance into a directory junction instance (similar to CMD command: "MKLINK /J").
Remarks

 

The directory must be empty and reside on a local volume.

 

MSDN: A junction (also called a soft link) differs from a hard link in that the storage objects it references are separate directories,

and a junction can link directories located on different local volumes on the same computer.

Otherwise, junctions operate identically to hard links. Junctions are implemented through reparse points.

Top
See Also