stringtranslate.com

Directory structure

In computing, a directory structure is the way an operating system arranges files that are accessible to the user. Files are typically displayed in a hierarchical tree structure.

File names and extensions

A filename is a string used to uniquely identify a file stored on this structure. Before the advent of 32-bit operating systems, file names were typically limited to short names (6 to 14 characters in size). Modern operating systems now typically allow much longer filenames (more than 250 characters per pathname element).

Windows, DOS and OS/2

In CP/M, DOS, Windows, and OS/2, the root directory is "drive:\", for example on modern systems, the root directory is usually "C:\". The directory separator is usually a "\", but many operating systems also internally recognize a "/". Physical and virtual drives are named by a drive letter, as opposed to being combined as one.[1] This means that there is no "formal" root directory, but rather that there are independent root directories on each drive. However, it is possible to combine two drives into one virtual drive letter, by setting a hard drive into a RAID setting of 0.[2]

Windows 10

The following folders may appear in the root of a boot partition.

Unix

Although Unix does not have a single standard for directory structures, in most implementations, files and directories appear under the root directory "/", even if they are stored on different physical devices.[8]

See also

References

  1. ^ "File/Dir structure". Archived from the original on 2009-09-18. Retrieved 2009-08-30.
  2. ^ "HDD Archives".
  3. ^ Chen, Raymond (3 March 2023). "Why was the replacement installer for recognized 16-bit installers itself a 32-bit program instead of a 64-bit program?". The Old New Thing. Microsoft.
  4. ^ "Windows - Why are there directories called Local, LocalLow, and Roaming under \Users\\AppData?".
  5. ^ "Dynamic-Link Library Search Order". MSDN. Microsoft. Retrieved 2 September 2015.
  6. ^ "Windows Confidential: History—the Long Way Through". TechNet Magazine. September 2010.
  7. ^ "How to address disk space issues that are caused by a large Windows component store (WinSxS) directory". Support. Microsoft. Retrieved 2 September 2015.
  8. ^ "Linux's directory structure". 8 April 2019.