File Shortcut - Implementations - Microsoft Windows

Microsoft Windows

lnk
Filename extension .lnk
Internet media type application/x-ms-shortcut
Developed by Microsoft Corporation
Type of format file shortcut

File shortcuts (also known as shell links) were introduced in Windows 95. Microsoft Windows uses .lnk as the filename extension for shortcuts to local files, and .URL for shortcuts to remote files, like web pages. Commonly referred to as "shortcuts" or "link files", both are displayed with a curled arrow overlay icon by default, and no filename extension. (The extension remains hidden in Windows Explorer even when "Hide extensions for known file types" is unchecked in File Type options, because it is controlled by the NeverShowExt option in HKEY_CLASSES_ROOTlnkfile in the Registry. The IsShortcut option causes the arrow to be displayed.) Shortcut files can be used to launch programs in minimized or maximized window states if the program supports it.

Microsoft Windows .lnk files operate as Windows Explorer extensions, rather than file system extensions. As a shell extension, .lnk files cannot be used in place of the file except in Windows Explorer, and have other uses in Windows Explorer in addition to use as a shortcut to a local file (or GUID). These files also begin with "L".

A link file with the magic name "target.lnk" may be used as the target of "desktop.ini", the folder customization file. A folder customized in this way becomes an alias for the target specified in the lnk file. That is, the customized folder becomes the effective shortcut. This technique is used by Microsoft Windows for items like WebDAV folders.

Generally, the effect of double-clicking a shortcut is intended to be the same as double-clicking the application or document to which it refers, but Windows shortcuts contain separate properties for the target file and the "Start In" directory. If the latter parameter is not entered, attempting to use the shortcut for some programs may generate "missing DLL" errors not present when the application is accessed directly.

Although shortcuts, when created, point to specific files or folders, they may break if the target is moved to another location. Microsoft Windows has standard algorithms for fixing up shortcuts when they are moved. Windows 9x-based versions of Windows use a simple search algorithm to fix broken shortcuts. On Windows NT-based operating systems and the NTFS file system, the target object's unique identifier is stored in the shortcut file and Windows can use the Distributed Link Tracking service for tracking the targets of shortcuts, so that the shortcut may be silently updated if the target moves to another hard drive. Windows Installer introduced in Windows 2000 introduced another special type of shortcuts called Advertised shortcuts.

File shortcuts in Windows can store a working directory path besides the target path. Environment variables can be used. For shortcuts that are located in the Start Menu, a hotkey can be defined in the shortcut's properties. Windows 2000 onwards, file shortcuts can also store comments which are displayed as a tooltip when the mouse hovers over the shortcut.

File system links can also be created on Windows systems, which serve a similar function, although they are a feature of the file system. Windows shortcuts are files and work independently of the file system.

Read more about this topic:  File Shortcut, Implementations

Other articles related to "microsoft windows, windows, microsoft":

List Of Ys Media - Video Games - Main Series
... FM-7, X1, and MSX2 1988 – Famicom, Master System 1989 – DOS, IIGS 1991—X68000 1998—Microsoft Windows (Ys Eternal) 2008—Nintendo DS (Ys Eternal) Notes PC remakes known as Ys Eternal and later Ys I ... X1, and MSX2 1989—Famicom, Master System 1989—DOS, IIGS 1998—Microsoft Windows (Ys Eternal) 2008—Nintendo DS (Ys Eternal) Notes PC remakes known as Ys Eternal and later Ys II Complete ... Original release date(s) 2005 ... Release years by system 2003—Microsoft Windows 2005—PlayStation 2 2006—PSP Ys The Oath in Felghana Original release date(s) 2012 ... Release years by system ...
Software Effect Processor - Principle of Operation - Drivers - Microsoft Windows
... The default Windows drivers are not optimized for low latency effect processing ... As a solution, Audio Stream Input/Output (ASIO) was created ...
Squid NT - Compatibility
... Squid for Windows can run on the following Windows operating systems Microsoft Windows NT 4.0 Microsoft Windows 2000 Microsoft Windows XP Microsoft Windows Server 2003 Microsoft ...
Microsoft Windows - Emulation Software
... Emulation allows the use of some Windows applications without using Microsoft Windows ... – a free and open source software implementation of the Windows API, allowing one to run many Windows applications on x86-based platforms, including Linux and Mac OS X ... refer to it as a "compatibility layer" and make use of Windows-style APIs to emulate the Windows environment ...

Famous quotes containing the word windows:

    The house of my body has spoken
    often as you rebuild me like blocks,
    and promise to come visit
    when I’m finally adjusted on safe land,
    and am livable, joist to joist
    with storm windows and screens ...
    Anne Sexton (1928–1974)