Win7 Platform Mklink command to create symbolic links
Friends who know about the Linux platform know the ln command, which makes it easy to create a symbolic link (also known as a soft link) to a directory or file. Symbolic links are similar to shortcuts under the Windows platform, but are much more powerful than shortcuts. It has the advantage of allowing a directory or file to have multiple portals but maintaining a single physical address to facilitate the management of applications and files on our own computers.
Windows Vista and Win7 also introduced a DOS command that makes it easy to create symbolic links, and that is, the Mklink,mklink command uses the following:
C:\>mklink
Creates a symbolic link.
MKLINK [[/d] | [H] | [/j]] Link Target
/d Creates a directory symbolic link. The default is a file symbolic link.
/h creates a hard link instead of a symbolic link.
/j Create a directory join.
LINK Specifies the new symbolic link name.
TARGET Specifies the path (relative or absolute) referenced by the new link.
where the/d and/j are followed by the absolute address, there is no difference between the two parameters.
For example, create a symbolic link on the desktop, link to a folder on the E-disk, the following can be accessed through the mklink /d test E:\abc\work
Desktop The fastest access to the symbolic link of the directory and files can be directly deleted, the original directory and the original file has no effect.
This article is from the "Eddy Technology blog" blog, please be sure to keep this source http://gongeddy.blog.51cto.com/2993788/1550362
Win7 Platform Mklink command to create symbolic links