2014年5月26日 星期一

Windows 利用 Mklink 建立 Symbolic link

I:\>mklink
The syntax of the command is incorrect.
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.
mklink /D [target symbolic link name] [source target folder name]
ex:
I:\> mklink /D WindowsLink C:\Windows
Above example will create Windows Symbolic link underneath I:\> named by "WindowsLink".

沒有留言: