.lnk Windows shortcut

Other formats

MIME typeapplication/x-ms-shortcut
DescriptionWindows shortcut
CategoryOther formats

Frequently asked questions

What is a .lnk file?

A .lnk file is a “Windows shortcut” (MIME type application/x-ms-shortcut).

How do I open a .lnk file?

With the program that created the file. On Linux, xdg-mime query default with the MIME type shows the default application, and xdg-open opens the file with it.

How can you tell a genuine .lnk file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.lnk shows the guessed type.

Which MIME type belongs to .lnk?

The MIME type is application/x-ms-shortcut. In the Apache web server: AddType application/x-ms-shortcut .lnk; in nginx: types { application/x-ms-shortcut lnk; }.

Nearby entries