The File Format Wiki
Advertisement

Type: System Files

Acronym: Windows Shortcut

Shortcut or "link" used by Windows as a reference to an original file, similar to an alias on the Macintosh platform; contains the shortcut target type, location, and filename as well as the program that opens the target file and an optional shortcut key; can be created in Windows by right-clicking a file and then selecting "Create Shortcut."

LNK files typically use the same icon as their target file, but add a small curled arrow to indicate that the file points to another location. When double-clicked, the shortcut acts exactly the same way as if the user clicked the original file.

LNK files with shortcuts to a program (.EXE file) can specify attributes for how the program runs. To set the attributes, right-click the shortcut file, select "Properties," and modify the Target field.

NOTE: LNK files in Windows do not show the ".lnk" file extension even when the "Hide extensions for known file types" folder viewing property is unchecked. While not recommended, users may enable its display by editing the "NeverShowExt" property within the "HKEY_CLASSES_ROOT\lnkfile" Windows registry entry.

Advertisement