File association

File association

A file association associates a file with an application capable of opening that file. More commonly, a file association associates a class of files (as determined by their filename extension, such as .txt) with a corresponding application (such as a text editor).

Associations and verbs

A single file extension may have several associations for performing various actions, also known as verbs. Some of the common verbs are:
* "open" to open a file
* "edit" to open a file for editing
* "print" to print a fileA picture, for example, may be associated with these verbs so that "open" opens the picture in an image viewer, "edit" opens up an image editing program and "print" sends the picture to a printer.

Implementations

Most operating systems support file associations in some form or the other. For example, opening a file from a file manager usually invokes the "open" verb in order to open the file with its associated application. Additional actions such as "print" are usually accessed via a right-click context menu. A mechanism for modifying associations is also usually present. An example for this is the "Open With" option in the Windows Shell.

Microsoft Windows

The Microsoft Windows series of operating systems, beginning with Windows 95 supports file extension-based associations. Associations are stored in registry as sets of verbs for each file extension. Older versions supported "open" associations stored in WIN.INI.File associations can be displayed and edited using the assoc command. [ [http://technet.microsoft.com/en-us/library/bb490865.aspx Microsoft TechNet Assoc article] ]

Linux

Linux-based GUIs, such as KDE and GNOME, support MIME type-based associations. For example, the MIME type text/plain might be associated with a text editor.

Mac OS

Classic Mac OS used type codes and creator codes to associate each file with its corresponding application, regardless of file extension. The more recent Mac OS X also supports file extension-based associations.

OS/2

ee also

*File format
*Filename extension

References

External links

* [http://msdn2.microsoft.com/en-us/library/bb776883.aspx Verbs and File Associations in Microsoft Windows]
* [http://docs.kde.org/userguide/file-associations.html File Associations in KDE]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Association (object-oriented programming) — In Object oriented programming, Association defines a relationship between classes of objects which allows one object instance to cause another to perform an action on its behalf. This relationship is structural, because it specifies that objects …   Wikipedia

  • Filé powder — Filé powder, also called gumbo filé, is a spice made from dried and ground sassafras leaves. It is used in the making of some types of gumbo, a Creole soup/stew. It is sprinkled sparingly over gumbo as a seasoning and a thickening agent, giving… …   Wikipedia

  • Association Nationale des Scouts de Guinée — National Scout Association of Guinea …   Wikipedia

  • Association medicale canadienne — Association médicale canadienne L Association médicale canadienne (AMC) (ou Canadian Medical Association (CMA) en anglais) est une association nationale de médecins créé au Canada en 1867. Comptant plus de 65.000 membres, elle est la plus grande… …   Wikipédia en Français

  • File sharing and the law — The legal issues in file sharing involve violation of copyright laws as digital copies of copy written materials are transferred between users. The debate on peer to peer and file sharing is a virtually global phenomenon. Peer to peer ( P2P )… …   Wikipedia

  • File sharing in Canada — Canada has the greatest number of file sharers per capita in the world according to a report by the OECD. [cite news|date=2005 12 13|url=http://www.oecd.org/dataoecd/13/2/34995041.pdf|title=Digital Broadband Content|accessdate=2006 07… …   Wikipedia

  • File Under Popular — Infobox Book name = File Under Popular title orig = translator = image caption = First edition cover, November Books, 1984 author = Chris Cutler illustrator = Graham Keatley Mary Thomas cover artist = country = United Kingdom language = English… …   Wikipedia

  • FILE ID.DIZ — is a plain text file containing a brief contentdescription of the archive in which it is included.It was originally used in archives distributed through bulletin board systems (BBS).Bulletin boards commonly accept uploaded files from their users …   Wikipedia

  • Association football — Soccer redirects here. For other uses, see Soccer (disambiguation). Association football An attacking player (No. 10) attempts to kick the ball past t …   Wikipedia

  • File drawer problem — The file drawer problem is that many studies in a given area of research may be conducted but never reported, and those that are not reported may on average report different results from those that are reported. An extreme scenario is that a… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”