星期日, 4月 22, 2012

[Window7] Create symboic link in Window7


如何在Window7建立Symbolic link,參考至How to create symbolic link in windows 7

C:\Windows\system32>mklink
Creates a symbolic link.
 
MKLINK [[/D] | [/H] | [/J]] Link Target
 
/D      Creates a directory symbolic link.  Default is a file
symbolic link.
/H      Creates a hard link instead of a symbolic link.
/J      Creates a Directory Junction.
Link    specifies the new symbolic link name.
Target  specifies the path (relative or absolute) that the new link
refers to.


Example:
To create a symbolic link named MyDocs from the root directory to the \Users\User1\Documents directory, type:
mklink /D \MyDocs \Users\User1\Documents

沒有留言:

張貼留言

留個話吧:)

其他你感興趣的文章

Related Posts with Thumbnails