Knowledge

Shortcut (computing)

Source 📝

543:
representing an instruction to perform a task associated with that file or executable so that they may be grouped by function or task rather than physical organisation in the file structure was first described in the research paper "A Task Oriented Front End For The Windows Graphical User Interface",
331:
Although Windows does not provide convenient tools to create it, Explorer supports a "folder link" or "shell link folder": a folder with the system attribute set, containing a hidden "desktop.ini" (folder customization) file which tells Explorer to look in that same folder for a "target.lnk" shortcut
306:
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
495:
were distinguished from other files by using names in italics. In Mac OS 8.5 and later, another distinguishing mark was added: an "alias arrow" – a black arrow with a thin, white border  – similar to that used for shortcuts in Microsoft Windows. In
332:
file pointing to another folder. When viewed in Explorer, the shell link folder then appears to have the contents of the target folder in it—that is, the customized folder becomes the effective shortcut. This technique is used by Microsoft Windows for items like
324:, some shortcuts also store Application User Model IDs (AppUserModelIDs). Instead of the target command line, AppUserModelIDs may directly be used to launch applications. Shortcuts with AppUserModelIDs are used by some desktop programs and all 260:
Although shortcuts, when created, point to specific files or folders, they may break if the target is moved to another location. When a shortcut file that points to a nonexistent target is opened, Explorer will attempt to repair the shortcut.
500:, the names of aliases are no longer italicized, but the arrow badge remains. Additionally, an alias retains its dynamic reference to an object and does not have to be specified even when calling files on remote servers. 256:
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".
539:, the user had to click on the representation of the actual file or executable in the location where the application or file was. The concept of disassociating the executable from the 846:
of Joachim Metz, combining Microsoft specification and observations across Windows versions – for example, some aspects of Windows 95 behavior are not mentioned in MS-SHELLINK
303:
folders, pinned to the Taskbar or the Desktop. In Windows 2000 onwards, file shortcuts can store comments which are displayed as a tooltip when the mouse hovers over the shortcut.
221:
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
737: 241:
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.
701: 675: 606: 865:
Shellify is a 100% managed .NET implementation of the Microsoft Shell Link (.LNK) Binary File Format for accessing .lnk files without the Windows API
843: 909: 556:
that same year under an academia/business technology sharing agreement. A simplified form of this research was incorporated into
88:
to be passed to the target program when it is run. Each shortcut can have its own icon. Shortcuts are very commonly placed on a
774: 280:
for tracking the targets of shortcuts, so that the shortcut may be silently updated if the target moves to another hard drive.
307:
use the shortcut for some programs may generate "missing DLL" errors not present when the application is accessed directly.
805: 313:
can also be created on Windows systems (Vista and up). They serve a similar function, although they are a feature of the
858: 225:. (The extension remains hidden in Windows Explorer even when "Hide extensions for known file types" is unchecked in 17: 642: 1307: 1075: 751: 715: 620: 435: 1312: 1118: 528: 84:, or the name of a target program file that the shortcut represents. The shortcut might additionally specify 902: 336:
folders. The advent of file system links in Windows Vista and up has made shell link folders less useful.
273:
file system, the target object's unique identifier is stored in the shortcut file and Windows can use the
1252: 1051: 483:
Macintosh does not have extensions for shortcuts. A file type called "alias" was introduced in Macintosh
961: 348: 93: 77: 1259: 69:
allows the user to open a page, file or resource located at a remote Internet location or Web site.
1063: 583: 536: 446: 1264: 971: 956: 895: 1091: 647: 438:, a simple pointer to a target file or directory is implemented in the operating system as a 85: 58: 1279: 1128: 951: 557: 524: 484: 317:. Windows shortcuts are files and work independently of the file system, through Explorer. 8: 1168: 1158: 1108: 849: 545: 457:
files. The format of these plain text files follows the 'desktop entry' specification by
104: 89: 837: 1163: 1153: 1046: 573: 369: 222: 142: 62: 46: 1286: 1039: 292: 281: 265:-based versions of Windows use a simple search algorithm to fix broken shortcuts. On 206: 97: 31: 1242: 1135: 1123: 1101: 966: 706: 611: 540: 462: 249: 299:
can be defined in the shortcut's properties for shortcuts that are located in the
1232: 1184: 862: 784: 458: 400: 277: 54: 1199: 1145: 1058: 1008: 1003: 881: 553: 504: 478: 108: 50: 868: 1301: 1269: 1211: 1204: 1034: 918: 779: 532: 508: 439: 352: 310: 116: 855: 1274: 1247: 1237: 1029: 983: 488: 285: 107:. The functional equivalent in the Macintosh operating system is called an 27:
Handle in a user interface that allows the user to find a file or resource
1113: 998: 988: 946: 932: 652: 507:
can be created within the Unix subsystem. The Safari browser has its own
314: 288:, added another special type of shortcuts called "Advertised Shortcuts." 72:
Shortcuts are typically implemented as a small file containing a target
1096: 561: 383: 300: 266: 262: 202: 164: 100: 252:
extensions, rather than file system extensions. As a shell extension,
1189: 1070: 993: 941: 936: 747: 711: 616: 578: 549: 427: 321: 181: 112: 38: 1024: 978: 497: 492: 418: 295:
path besides the target path. Environment variables can be used. A
214: 887: 466: 347:. This is used to reference a track (song) on a CD (in standard 1227: 643:"Distributed Link Tracking on Windows-based domain controllers" 333: 296: 461:, and besides the location of the program they can provide an 431: 325: 869:
Win32::Shortcut - Perl Module to deal with Windows Shortcuts
65:
from the place where the shortcut is located. Similarly, an
742: 270: 73: 30:"Computer shortcut" redirects here. For other uses, see 328:
Modern/Universal Windows Platform apps for launching.
123:
files which provide additional configuration details.
339:There is another type of file that is similar to a 838:"MS-SHLLINK: Shell Link (.LNK) Binary File Format" 676:"Dawn of War - Dark Crusade: Error Loading Module" 775:"Manually creating junction points in Windows XP" 1299: 702:"Windows Confidential: Why are Shortcuts Files?" 119:which point to a target file, and often support 738:"Application User Model IDs (AppUserModelIDs)" 903: 491:to handle moves. Aliases in System 7 through 217:extension for shortcuts to local files, and 852:for accessing .lnk files in the Windows API 910: 896: 844:Windows Shortcut File format specification 607:"Windows Confidential: Tracking Shortcuts" 229:options, because it is controlled by the 600: 598: 53:that allows the user to find a file or 14: 1300: 772: 544:by Mike Roberts, published in 1991 by 291:File shortcuts in Windows can store a 891: 673: 595: 699: 604: 131: 560:in 1991, and four years later into 445:When the target is a program, many 24: 917: 651:. 28 February 2007. Archived from 126: 25: 1324: 826: 269:-based operating systems and the 773:Shultz, Greg (18 October 2004). 700:Chen, Raymond (September 2006). 1076:Hidden file / Hidden directory 798: 766: 730: 693: 674:Cheng, Chieh (19 April 2008). 667: 635: 605:Chen, Raymond (October 2009). 197:File shortcuts (also known as 13: 1: 1119:Filesystem Hierarchy Standard 806:"Desktop Entry Specification" 589: 515:, for storing Internet URLs. 487:; it tracks information like 884:, a guide for .desktop files 343:file, but has the extension 7: 1253:Comparison of file managers 1052:List of filename extensions 567: 103:, or in the main menu of a 10: 1329: 518: 476: 94:application launcher panel 29: 1260:File system fragmentation 1220: 1177: 1144: 1084: 1017: 925: 537:graphical user interfaces 512: 447:graphical user interfaces 414: 406: 396: 382: 368: 275:Distributed Link Tracking 235:HKEY_CLASSES_ROOT\lnkfile 187: 177: 171:application/x-ms-shortcut 163: 141: 1064:Extended file attributes 972:Proprietary file formats 584:Program information file 384:Internet media type 165:Internet media type 1308:Executable file formats 1265:File-system permissions 358: 57:located in a different 548:and presented to both 472: 237:in the Registry. The 648:Microsoft Corporation 201:) were introduced in 182:Microsoft Corporation 1313:Windows architecture 1280:File synchronization 1129:Semantic file system 952:List of file formats 882:"Howto desktop file" 850:IShellLink interface 1109:Directory structure 546:Kingston University 469:and other details. 365: 138: 105:desktop environment 1047:Filename extension 861:2010-07-30 at the 754:on 13 January 2015 623:on 12 October 2009 574:NTFS symbolic link 415:Extended from 370:Filename extension 363: 244:Microsoft Windows 223:filename extension 143:Filename extension 136: 1295: 1294: 1287:File verification 1040:Filename mangling 967:Open file formats 424: 423: 397:Developed by 311:File system links 293:working directory 282:Windows Installer 248:files operate as 207:Microsoft Windows 195: 194: 178:Developed by 132:Microsoft Windows 98:Microsoft Windows 67:Internet shortcut 32:keyboard shortcut 18:Computer shortcut 16:(Redirected from 1320: 1243:Data compression 1124:Grid file system 1102:Temporary folder 1092:Directory/folder 912: 905: 898: 889: 888: 821: 820: 818: 817: 802: 796: 795: 793: 791: 770: 764: 763: 761: 759: 750:. Archived from 734: 728: 727: 725: 723: 714:. Archived from 707:TechNet Magazine 697: 691: 690: 688: 686: 671: 665: 664: 662: 660: 639: 633: 632: 630: 628: 619:. Archived from 612:TechNet Magazine 602: 514: 456: 452: 430:systems such as 391: 377: 366: 362: 346: 342: 284:, introduced in 255: 250:Windows Explorer 247: 240: 236: 232: 220: 212: 172: 158: 154: 150: 139: 135: 122: 21: 1328: 1327: 1323: 1322: 1321: 1319: 1318: 1317: 1298: 1297: 1296: 1291: 1233:File comparison 1216: 1185:File descriptor 1173: 1140: 1080: 1013: 957:File signatures 921: 916: 863:Wayback Machine 829: 824: 815: 813: 812:. 27 April 2020 810:freedesktop.org 804: 803: 799: 789: 787: 785:CBS Interactive 771: 767: 757: 755: 736: 735: 731: 721: 719: 698: 694: 684: 682: 672: 668: 658: 656: 655:on 9 April 2008 641: 640: 636: 626: 624: 603: 596: 592: 570: 521: 511:-based format, 481: 475: 459:freedesktop.org 454: 450: 401:freedesktop.org 392: 389: 378: 375: 361: 344: 340: 320:Beginning with 253: 245: 238: 234: 230: 218: 210: 173: 170: 159: 156: 152: 148: 134: 129: 127:Implementations 120: 35: 28: 23: 22: 15: 12: 11: 5: 1326: 1316: 1315: 1310: 1293: 1292: 1290: 1289: 1284: 1283: 1282: 1277: 1267: 1262: 1257: 1256: 1255: 1245: 1240: 1235: 1230: 1224: 1222: 1218: 1217: 1215: 1214: 1209: 1208: 1207: 1202: 1192: 1187: 1181: 1179: 1175: 1174: 1172: 1171: 1166: 1161: 1156: 1150: 1148: 1142: 1141: 1139: 1138: 1133: 1132: 1131: 1126: 1121: 1111: 1106: 1105: 1104: 1099: 1088: 1086: 1082: 1081: 1079: 1078: 1073: 1068: 1067: 1066: 1059:File attribute 1056: 1055: 1054: 1044: 1043: 1042: 1037: 1032: 1021: 1019: 1015: 1014: 1012: 1011: 1009:Zero-byte file 1006: 1004:Temporary file 1001: 996: 991: 986: 981: 976: 975: 974: 969: 964: 959: 954: 944: 939: 929: 927: 923: 922: 919:Computer files 915: 914: 907: 900: 892: 886: 885: 876:.desktop files 873: 872: 866: 853: 847: 841: 840:from Microsoft 828: 827:External links 825: 823: 822: 797: 765: 729: 718:on 4 July 2009 692: 666: 634: 593: 591: 588: 587: 586: 581: 576: 569: 566: 554:Xerox EuroPARC 523:To execute an 520: 517: 505:symbolic links 479:Alias (Mac OS) 477:Main article: 474: 471: 422: 421: 416: 412: 411: 408: 407:Type of format 404: 403: 398: 394: 393: 388: 386: 380: 379: 374: 372: 360: 357: 193: 192: 189: 188:Type of format 185: 184: 179: 175: 174: 169: 167: 161: 160: 147: 145: 133: 130: 128: 125: 117:symbolic links 51:user interface 26: 9: 6: 4: 3: 2: 1325: 1314: 1311: 1309: 1306: 1305: 1303: 1288: 1285: 1281: 1278: 1276: 1273: 1272: 1271: 1270:File transfer 1268: 1266: 1263: 1261: 1258: 1254: 1251: 1250: 1249: 1246: 1244: 1241: 1239: 1236: 1234: 1231: 1229: 1226: 1225: 1223: 1219: 1213: 1212:Symbolic link 1210: 1206: 1203: 1201: 1198: 1197: 1196: 1193: 1191: 1188: 1186: 1183: 1182: 1180: 1176: 1170: 1167: 1165: 1162: 1160: 1157: 1155: 1152: 1151: 1149: 1147: 1143: 1137: 1134: 1130: 1127: 1125: 1122: 1120: 1117: 1116: 1115: 1112: 1110: 1107: 1103: 1100: 1098: 1095: 1094: 1093: 1090: 1089: 1087: 1083: 1077: 1074: 1072: 1069: 1065: 1062: 1061: 1060: 1057: 1053: 1050: 1049: 1048: 1045: 1041: 1038: 1036: 1035:Long filename 1033: 1031: 1028: 1027: 1026: 1023: 1022: 1020: 1016: 1010: 1007: 1005: 1002: 1000: 997: 995: 992: 990: 987: 985: 982: 980: 977: 973: 970: 968: 965: 963: 960: 958: 955: 953: 950: 949: 948: 945: 943: 940: 938: 934: 931: 930: 928: 924: 920: 913: 908: 906: 901: 899: 894: 893: 890: 883: 880: 879: 878: 877: 870: 867: 864: 860: 857: 854: 851: 848: 845: 842: 839: 836: 835: 834: 833: 811: 807: 801: 786: 782: 781: 780:Tech Republic 776: 769: 753: 749: 745: 744: 739: 733: 717: 713: 709: 708: 703: 696: 681: 677: 670: 654: 650: 649: 644: 638: 622: 618: 614: 613: 608: 601: 599: 594: 585: 582: 580: 577: 575: 572: 571: 565: 563: 559: 555: 551: 547: 542: 538: 534: 530: 526: 516: 510: 509:property list 506: 503:In addition, 501: 499: 494: 490: 486: 480: 470: 468: 464: 460: 448: 443: 441: 440:symbolic link 437: 433: 429: 420: 417: 413: 410:file shortcut 409: 405: 402: 399: 395: 387: 385: 381: 373: 371: 367: 364:Desktop Entry 356: 354: 350: 337: 335: 329: 327: 323: 318: 316: 312: 308: 304: 302: 298: 294: 289: 287: 283: 279: 276: 272: 268: 264: 258: 251: 242: 228: 224: 216: 208: 204: 200: 191:file shortcut 190: 186: 183: 180: 176: 168: 166: 162: 146: 144: 140: 124: 118: 115:systems have 114: 110: 106: 102: 99: 95: 91: 87: 83: 79: 75: 70: 68: 64: 60: 56: 52: 48: 44: 43:file shortcut 40: 33: 19: 1275:File sharing 1248:File manager 1238:File copying 1194: 1085:Organisation 1030:8.3 filename 984:Sidecar file 962:Magic number 875: 874: 871:Perl library 831: 830: 814:. Retrieved 809: 800: 788:. Retrieved 778: 768: 756:. Retrieved 752:the original 741: 732: 720:. Retrieved 716:the original 705: 695: 683:. Retrieved 679: 669: 657:. Retrieved 653:the original 646: 637: 625:. Retrieved 621:the original 610: 522: 502: 489:inode number 482: 444: 425: 338: 330: 319: 309: 305: 290: 286:Windows 2000 274: 259: 243: 231:NeverShowExt 226: 198: 196: 96:such as the 81: 71: 66: 42: 36: 1114:File system 999:System file 989:Sparse file 947:File format 933:Binary file 832:Windows LNK 525:application 315:file system 199:shell links 1302:Categories 1221:Management 1146:Operations 1097:NTFS links 1018:Properties 856:"Shellify" 816:2023-10-27 590:References 562:Windows 95 455:.directory 390:text/plain 301:Start Menu 267:Windows NT 263:Windows 9x 239:IsShortcut 233:option in 203:Windows 95 101:Start menu 86:parameters 1190:Hard link 1071:File size 994:Swap file 942:Data file 937:text file 748:Microsoft 712:Microsoft 617:Microsoft 579:Hard link 550:Microsoft 535:in early 428:Unix-like 355:format). 322:Windows 7 227:File Type 113:Unix-like 59:directory 39:computing 1195:Shortcut 1025:Filename 979:Metafile 859:Archived 790:14 April 758:14 April 722:14 April 685:14 April 680:GearHack 659:14 April 627:14 April 568:See also 558:System 7 498:Mac OS X 493:Mac OS 9 485:System 7 451:.desktop 449:support 419:INI file 376:.desktop 215:filename 121:.desktop 92:, in an 55:resource 1178:Linking 519:History 513:.webloc 467:tooltip 353:RedBook 278:service 213:as the 90:desktop 1228:Backup 1205:Shadow 529:render 334:WebDAV 297:hotkey 82:object 80:to an 63:folder 47:handle 1200:Alias 1169:Write 1159:Close 926:Types 432:Linux 326:WinRT 209:uses 109:alias 49:in a 45:is a 1164:Read 1154:Open 1136:Path 792:2019 760:2019 743:MSDN 724:2019 687:2019 661:2019 629:2019 552:and 541:icon 533:file 465:, a 463:icon 453:and 434:and 359:Unix 349:CDDA 345:.cda 341:.lnk 271:NTFS 254:.lnk 246:.lnk 219:.url 211:.lnk 157:.cda 153:.url 149:.lnk 78:GUID 41:, a 527:or 473:Mac 436:BSD 426:On 137:lnk 76:or 74:URI 61:or 37:In 1304:: 935:/ 808:. 783:. 777:. 746:. 740:. 710:. 704:. 678:. 645:. 615:. 609:. 597:^ 564:. 531:a 442:. 351:/ 205:. 155:, 151:, 111:. 911:e 904:t 897:v 819:. 794:. 762:. 726:. 689:. 663:. 631:. 34:. 20:)

Index

Computer shortcut
keyboard shortcut
computing
handle
user interface
resource
directory
folder
URI
GUID
parameters
desktop
application launcher panel
Microsoft Windows
Start menu
desktop environment
alias
Unix-like
symbolic links
Filename extension
Internet media type
Microsoft Corporation
Windows 95
Microsoft Windows
filename
filename extension
Windows Explorer
Windows 9x
Windows NT
NTFS

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.