4 / 47
[MS-SHLLINK] - v20151016
Shell Link (.LNK) Binary File Format
Copyright © 2015 Microsoft Corporation
Release: October 16, 2015
1 Introduction
This is a specification of the Shell Link Binary File Format. In this format a structure is called a shell
link, or shortcut, and is a data object that contains information that can be used to access another
data object. The Shell Link Binary File Format is the format of Windows files with the extension "LNK".
Shell links are commonly used to support application launching and linking scenarios, such as Object
Linking and Embedding (OLE), but they also can be used by applications that need the ability to
store a reference to a target file.
Sections 1.7 and 2 of this specification are normative and can contain the terms MAY, SHOULD, MUST,
MUST NOT, and SHOULD NOT as defined in [RFC2119]. All other sections and examples in this
specification are informative.
1.1 Glossary
The following terms are specific to this document:
American National Standards Institute (ANSI) character set: A character set (1) defined by
a code page approved by the American National Standards Institute (ANSI). The term "ANSI"
as used to signify Windows code pages is a historical reference and a misnomer that persists in
the Windows community. The source of this misnomer stems from the fact that the Windows
code page 1252 was originally based on an ANSI draft, which became International Organization
for Standardization (ISO) Standard 8859-1 [ISO/IEC-8859-1]. In Windows, the ANSI character
set can be any of the following code pages: 1252, 1250, 1251, 1253, 1254, 1255, 1256, 1257,
1258, 874, 932, 936, 949, or 950. For example, "ANSI application" is usually a reference to a
non-Unicode or code-page-based application. Therefore, "ANSI character set" is often misused
to refer to one of the character sets defined by a Windows code page that can be used as an
active system code page; for example, character sets defined by code page 1252 or character
sets defined by code page 950. Windows is now based on Unicode, so the use of ANSI
character sets is strongly discouraged unless they are used to interoperate with legacy
applications or legacy data.
Augmented Backus-Naur Form (ABNF): A modified version of Backus-Naur Form (BNF),
commonly used by Internet specifications. ABNF notation balances compactness and simplicity
with reasonable representational power. ABNF differs from standard BNF in its definitions and
uses of naming rules, repetition, alternatives, order-independence, and value ranges. For more
information, see [RFC5234].
class identifier (CLSID): A GUID that identifies a software component; for instance, a DCOM
object class (4) or a COM class.
code page: An ordered set of characters of a specific script in which a numerical index (code-point
value) is associated with each character. Code pages are a means of providing support for
character sets (1) and keyboard layouts used in different countries. Devices such as the display
and keyboard can be configured to use a specific code page and to switch from one code page
(such as the United States) to another (such as Portugal) at the user's request.
extra data section: A data structure appended to the basic Shell Link Binary File Format data that
contains additional information about the link target.
folder GUID ID: A GUID value that identifies a known folder. Some folder GUID ID values
correspond to folder integer ID values.
folder integer ID: An integer value that identifies a known folder.
globally unique identifier (GUID): A term used interchangeably with universally unique
identifier (UUID) in Microsoft protocol technical documents (TDs). Interchanging the usage of
评论1
最新资源