The metadata for the file do take space on the disk, but are never taken into account when mentioning the file size.
> All Folders programs are 0 bytes if you're on windows as it interprets an empty folder as 0 bytes.
> The ultimate code golf!
In code golf competition the shortest program (in bytes) wins.
I don't think anyone ever included there the bytes taken by the metadata of the files, so in theory any solution implemented in this language is the best possible: 0 bytes.
This reminds me of back in high school in the late nineties where we had a disk quota and I created a Word Macro to create empty folders on the network share in the computer lab.
Although it it did not count against my quota, it certainly was not free :)
If that means 0 kb in terms of sectors allocated, I would believe it. But the name has to be stored somewhere, right? It's just that the dialog doesn't account for that (and the acl, I'd guess).
I think NTFS stores the names in a block at the beginning of the partition, with a reference to another block in the back which holds the contents. And it only reads those contents for size.