Win7下可透過CMD建立symbolic link,命令如下:
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
不過執行CMD時,必需透過系統管理員權限來執行,
即使使用者具有系統管理員權限也一樣。
在D碟下建立一個來自My Dcouments的symbolic link資料夾-“測試範例”指令如下:
mklink /d "D:\測試範例" "D:\Documents and Settings\shunze\My Documents"
在權限及路徑正確的條件下,執行後就會產生一個symbolic link資料夾-“測試範例”囉~
♥順子老婆的網拍,請多關照∼
If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!
|