What is inside a .lnk file? How does it work?

Solution 1:

To understand "what exactly is in the file" take a look at the MS-SHLLINK specification. Also, these files are to be opened with a Hex Editor not a Text Editor.