"Adam D. Ruppe" <destructiona...@gmail.com> wrote in message news:il2sce$11lv$1...@digitalmars.com... > spir wrote: >> I would definitely love an inter-OS standard for storing the >> MIME-type in every file's first byte. > > A better solution would be to store it in the filename. Might > want more detail than one byte could allow too, so perhaps allowing > three or four bytes would be a good answer. > > With the type in the filename, you can determine it easily from > a directory listing without needing to open every individual file. > This would make a big difference in listing speed on a slow filesystem > and by using the name, it is compatible with all systems too.
I agree, and have to say: Very well put :)