System Info. Create AsSymbolic Link(String) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a symbolic link located in FullName that points to the specified
public: void CreateAsSymbolicLink(System::String ^ pathToTarget);
public void CreateAsSymbolicLink (string pathToTarget);
member this.CreateAsSymbolicLink : string -> unit
Public Sub CreateAsSymbolicLink (pathToTarget As String)
The path of the symbolic link target.
pathToTarget is empty.
pathToTarget contains invalid path characters.
A file or directory already exists in the location of FullName.
An I/O error occurred.