
The remainder of the path after ' x', is appended to the new path. When ' x' is encountered, ' x' is completely replaced by the new fragment pointed to by ' x'. In this example, the original path contains a component ' x', which is a relative symbolic link.

Modified Path: "\\machineB\share\gamma\file" Example of a Relative Symbolic Links Link: "absLink" maps to "\\machineB\share" The remainder of the path after ' x' is appended to this new path. When ' x' is encountered, the fragment of the original path up to and including ' x' is completely replaced by the path that is pointed to by ' x'. In this example, the original path contains a component, ' x', which is an absolute symbolic link. Relative symbolic links are restricted to a single volume. Symbolic links can point directly to a remote file or directory using the UNC path. Note If you specify a current working directory–relative link, it is created as an absolute link, due to the way the current working directory is processed based on the user and the thread.Ī symbolic link can also contain both junction points and mounted folders as a part of the path name. directoryĬurrent working directory-relative-for example, if the current working directory is "C:\Windows\System32", "C:File.txt" resolves to "C:\Windows\System32\File.txt". Root relative-for example, "\Windows\System32" resolves to the " current drive:\Windows\System32".


Names with no slashes (\)-for example, "tmp" resolves the path relative to the current directory. ) conventions-for example, ".\" resolves the path relative to the parent directory. Relative links are specified using the following conventions:ĭot (. Absolute links are links that specify each portion of the path name relative links are determined relative to where relative–link specifiers are in a specified path. Symbolic links can either be absolute or relative links. The function CreateSymbolicLink allows you to create symbolic links using either an absolute or relative path.
