Thursday 29 November 2018

windows - Is a .lnk file a symbolic link or a junction?


A .lnk file (created via the create shortcut context menu in Windows Explorer) a symbolic link or a junction?



Answer



It is neither. Links and junctions are features of the file system, built into NTFS.


A .lnk is a feature of the "shell" - the desktop gui part of Windows. Effectively it is just a file that contains reference to another file (they can also point to any path that the shell knows how to open, including various URLs, or even pathless shell objects such as Computer or Control Panel folders or items contained there, or programs that aren't actually installed but "advertised" via Windows Installer).


It is the gui part of Windows that dereferences the link and opens the right file, whereas with a symbolic link or junction this is done by NTFS.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...