免責聲明

Disclaimer (免責聲明)
繼續閱覽代表您接受以上的免責聲明.
To continue reading means you accept the above disclaimer.

2014年11月24日 星期一

File Shortcut and Symbolic Link in Windows

//===
File shortcut [檔案捷徑/shell link] :  副檔名 .lnk / .LNK
通稱 shortcut / link file

根據wikipedia:
"a small file containing a target URI or GUID to an object, or
the name of a target program file ..."

//===  Symbolic link
> mklink   linkname  targetFileName            [file symbolic link]
> mklink  /D  linkname  targetDirName        [directory symbolic link ]


> mklink /?
MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory 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.

//===
IShellLink
IPersistFile
IPersistSystem


[ref]
http://en.wikipedia.org/wiki/File_shortcut

shell link spec:
http://msdn.microsoft.com/en-us/library/dd871305(v=prot.13).aspx
http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/[MS-SHLLINK].pdf



沒有留言:

張貼留言