Directory Definition & Meaning

A directory is a location for storing files on a computer. It’s a file system cataloging structure that contains references to other files or directories. Folders and files are organized into a hierarchical structure, meaning it’s organized in a way that resembles a tree. For example, a directory contained inside another directory is called a subdirectory. The terms parent and child are often used to refer to directories and subdirectories, respectively. The top-most directory in a file system is known as the root directory. Think of a directory as a filing cabinet that contains folders. Within these folders are files.

File systems use directories to organize files within a storage device such as a hard disk drive or solid state drive. System files may be located in one directory, while user files may be stored in another. Hierarchical file systems that include directories are Linux, MS-DOS, OS/2, and Unix. It’s worth noting that in a GUI such as Microsoft Windows, directories are known as folders.

By storing specific types of files in a folder, information can be easily accessed. Programs can be stored in a directory as well. When a program is installed, its files are stored in a directory that contains subdirectories with many files related to the program. Because of the directory, files are less likely to get overwritten, modified, or deleted by other programs.

Directory paths

To access a file within a directory, the names of all directories above it may need to be specified. To do this, a path will need to be specified. A path specifies a unique location by following the directory tree hierarchy expressed in a string of characters in which path components represent each directory. The delimiting character is most commonly a slash or a colon. With DOS and Windows the root directory is a backslash (). With Linux and Unix systems, the root directory is a forward slash (/).

 

Abby Dykes
Abby Dykes
Abby Dykes is a newly-graduated writer and editor for websites such as TechnologyAdvice.com, Webopedia.com, and Project-Management.com. When she’s not writing about technology, she enjoys giving too many treats to her dog and coaching part-time at her local gym.

Top Articles

Huge List Of Texting and Online Chat Abbreviations

From A3 to ZZZ we list 1,559 text message and online chat abbreviations to help you translate and understand today's texting lingo. Includes Top...

How To Create A Desktop Shortcut To A Website

This Webopedia guide will show you how to create a desktop shortcut to a website using Firefox, Chrome or Internet Explorer (IE). Creating a desktop...

The History Of Windows Operating Systems

Microsoft Windows is a family of operating systems. We look at the history of Microsoft's Windows operating systems (Windows OS) from 1985 to present...

Hotmail [Outlook] Email Accounts

  By Vangie Beal Hotmail is one of the first public webmail services that can be accessed from any web browser. Prior to Hotmail and its...

Unregulated Power Supply Definition...

An unregulated power supply is a system that transforms input voltage into direct...

Cybersecurity Awareness Training Definition...

Cybersecurity awareness training informs employees of the attack surfaces and vectors in their...

OST File Definition &...

An OST file, or offline storage table (.ost) file, is an Offline Outlook...