Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know how a *nix directory structure is set up and how directories are pretty much just lists of files. I can open them with a text editor and read them, they are an actual "file". I am a little confused on what a Windows folder actually is. I am pretty sure it is not a "file" as we would normally think about it. I couldn't find any explanation online about the architecture behind the Window's "folder".

share|improve this question

migrated from Mar 16 '13 at 1:01

This question came from our site for professional and enthusiast programmers.

Windows directories are essentially the same as linux directories. Folders are different. Directories are folders, but some folders are not directories. Folders can virtual containers, that contain other objects, usually more files and folders. But yes, this is off-topic here. Perhaps you are looking for superuser. – David Heffernan Mar 15 '13 at 21:47
1 - folders may have nothing to do with directories (or even disks) on Windows, as David said. Printers and Devices, for instance, is a folder on Windows that has nothing to do with disk content, and on Win7 several directories can be in a single folder (see Libraries, for instance, which is not a directory but contains several of them). Wikipedia also has pages on NTFS, FAT32, and FAT16, which describe the actual structure of the file allocation tables on various Windows versions (no room for links in comment). – Ken White Mar 15 '13 at 22:19
Directories are not an actual "file" even if your text editor presents them as such. – Ярослав Рахматуллин Mar 16 '13 at 5:32

You must log in to answer this question.

Browse other questions tagged .