lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> BTW, there is a reason why common Windows .lnk files (i.e. shortcuts) are
> not supported?

NTFS has also several features that very much looks like Unix symbolic links.
First there is the so called "directory junction", available since
Windows 2000, which is a sort of absolute symbolic link, limited to
directories on the same file system.
And since Windows Vista it is also possible to have "real" symbolic
links (relative or absolute).
All these features are accessible by using the command "mklink" [1],
which is built-in inside cmd.exe of Windows Vista/7.
Unfortunately, for some strange reason, creating symbolic links
requires the special SeCreateSymbolicLink permission, which by default
only administrators have ;-(
Nevertheless, it would be great if lfs.link had the same features as
the mklink command.

[1] http://technet.microsoft.com/en-us/library/cc753194%28WS.10%29.aspx

Patrick Rapin