2015年3月7日 星期六

[NTFS, Win7] Symbolic link














mklink:Creates a symbolic link.
適用平台:Windows Server 2008, Windows Vista、Windows 7 等以上版本

Syntax:

mklink [[/d] | [/h] | [/j]]

Parameters:

ParameterDescription
/dCreates a directory symbolic link. By default, mklink creates a file symbolic link.
/hCreates a hard link instead of a symbolic link.
/jCreates a Directory Junction.
Specifies the name of the symbolic link that is being created.
Specifies the path (relative or absolute) that the new symbolic link refers to.
/?Displays help at the command prompt.

Examples:
mklink /d C:\Users\eric_c_huang\Desktop\AAA C:\Document\ABC
在桌面上建立名為 AAA 的 symbolic link ,連結至 C:\Document  的 ABC 目錄…

建立 symbolic link 需要管理者權限,否則會出現「you do not have sufficient privilege to perform this operation」的錯誤訊息

沒有留言: