File directory

From Wikipedia, the free encyclopedia

In computing, a directory, catalog, or folder[1] is an entity in a file system which contains a group of files and/or other directories. A typical file system may contain thousands (or even hundreds of thousands) of directories. Files are kept organized by storing related files in the same directory. A directory contained inside another directory is called a subdirectory of that directory. Together, the directories form a hierarchy, or tree structure.

A computer's file system can be visualized as a file cabinet, where high-level directories are represented by the drawers and lower-level subdirectories may be represented as file folders within the drawers.

Historically, and even on some modern embedded devices, the filesystems either have no support for directories at all or only have a flat directory structure, meaning subdirectories are not allowed; there is only a group of top-level directories each containing files. The first popular fully general hierarchical filesystem was that of UNIX. This type of filesystem was an early research interest of Dennis Ritchie.

In modern times in Unix-like systems, especially Linux, directory structure is defined by the Filesystem Hierarchy Standard.

In many operating systems, programs have an associated current working directory in which they execute. Typically filenames accessed by the program are assumed to reside within this directory if the filenames are not specified with an explicit directory name.

Some operating systems restrict a user's access to only his home directory or project directory, thus isolating his activities from all other users.

On Unix, directories are regarded as a type of file.[2]

Contents

A folder representation from the KDE crystal theme
A folder representation from the KDE crystal theme

The name folder, presenting an analogy to the file folder used in offices, is common on most modern operating system's desktop environments including Mac OS, Mac OS X, Microsoft Windows, and many environments for BSD and Linux.

Strictly speaking, there is a difference between a directory which is a filing system concept, and the GUI metaphor that is used to represent it (a folder).

In GUI environments, folders are often depicted with icons which resemble physical file folders such as those of a file cabinet in an office.

  1. ^ "With the introduction of Windows 95, Microsoft started referring to directories as folders." (Murach's C# 2005, page 34)
  2. ^ "Everything is a File" (Unix System Administration Independent Learning)

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.