- published: 09 Aug 2010
- views: 31373
In computing, a directory is a file system cataloging structure which contains references to other computer files, and possibly other directories. On many computers, directories are known as folders, catalogs (catalog
was used on the Apple II, the Commodore 128 and some other early home computers as a command for displaying disk contents; the filesystems used by these did not support hierarchal directories), or drawers to provide some relevancy to a workbench or the traditional office file cabinet.
Files are organized by storing related files in the same directory. In a hierarchical filesystem (that is, one in which files and directories are organized in a manner that resembles a tree), a directory contained inside another directory is called a subdirectory. The terms parent and child are often used to describe the relationship between a subdirectory and the directory in which it is cataloged, the latter being the parent. The top-most directory in such a filesystem, which does not have a parent of its own, is called the root directory.