DirectoryCreateJunction Method (KernelTransaction, String, String)
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 static void CreateJunction( KernelTransaction transaction, string junctionPath, string directoryPath )
Public Shared Sub CreateJunction ( transaction As KernelTransaction, junctionPath As String, directoryPath As String )
public: static void CreateJunction( KernelTransaction^ transaction, String^ junctionPath, String^ directoryPath )
static member CreateJunction : transaction : KernelTransaction * junctionPath : string * directoryPath : string -> unit